]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove redundant line
authorThomas Tanghus <thomas@tanghus.net>
Thu, 4 Apr 2013 12:10:34 +0000 (14:10 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Thu, 4 Apr 2013 12:10:34 +0000 (14:10 +0200)
lib/vcategories.php

index a1ba0f2482ac7e0a2c4858fed941b5117cf19fc5..5975e688b75cad4ff9a5422c3052a3aedfc9a6b8 100644 (file)
@@ -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);