From d048ff719db224e145783c77d2f3b50c03eb30a0 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Thu, 4 Apr 2013 14:10:34 +0200 Subject: [PATCH] Remove redundant line --- lib/vcategories.php | 1 - 1 file changed, 1 deletion(-) diff --git a/lib/vcategories.php b/lib/vcategories.php index a1ba0f2482..5975e688b7 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);