summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lib/vcategories.php1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/vcategories.php b/lib/vcategories.php
index a1ba0f2482a..5975e688b75 100644
--- a/lib/vcategories.php
+++ b/lib/vcategories.php
@@ -551,7 +551,6 @@ class OC_VCategories {
try {
$query = 'DELETE FROM `' . self::RELATION_TABLE . '` ';
$query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) ';
- $updates = $ids;
$query .= 'AND `type`= ?';
$updates[] = $type;
$stmt = OCP\DB::prepare($query);