1
0
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:
blizzz 2015-04-20 13:14:51 +02:00
commit c30d34cce6

View File

@ -494,7 +494,7 @@ class Bookmarks {
if ($dbtype === 'mysql') {
$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);
foreach ($tags as $tag) {