mirror of
https://github.com/owncloud/bookmarks.git
synced 2024-11-29 04:24:11 +01:00
Merge pull request #129 from tflidd/table-prefix
remove fixed “oc_”-prefix.
This commit is contained in:
commit
c30d34cce6
@ -494,7 +494,7 @@ class Bookmarks {
|
|||||||
if ($dbtype === 'mysql') {
|
if ($dbtype === 'mysql') {
|
||||||
$sql .= 'from dual ';
|
$sql .= 'from dual ';
|
||||||
}
|
}
|
||||||
$sql .= 'where not exists(select * from oc_bookmarks_tags where bookmark_id = ? and tag = ?)';
|
$sql .= 'where not exists(select * from `*PREFIX*bookmarks_tags` where `bookmark_id` = ? and `tag` = ?)';
|
||||||
|
|
||||||
$query = $db->prepareQuery($sql);
|
$query = $db->prepareQuery($sql);
|
||||||
foreach ($tags as $tag) {
|
foreach ($tags as $tag) {
|
||||||
|
Loading…
Reference in New Issue
Block a user