From: Thomas Tanghus Date: Thu, 4 Apr 2013 12:10:34 +0000 (+0200) Subject: Remove redundant line X-Git-Tag: v6.0.0alpha2~953^2 X-Git-Url: https://source.dussan.org/?a=commitdiff_plain;h=d048ff719db224e145783c77d2f3b50c03eb30a0;p=nextcloud-server.git Remove redundant line --- 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);