summaryrefslogtreecommitdiffstats
path: root/lib/vcategories.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2013-04-04 14:10:34 +0200
committerThomas Tanghus <thomas@tanghus.net>2013-04-04 14:10:34 +0200
commitd048ff719db224e145783c77d2f3b50c03eb30a0 (patch)
tree7303c18cb9eb2f2b5a033503b806ebcf6e129cb1 /lib/vcategories.php
parent73dd54c9624a713d8180741c4558b2d56972a5ac (diff)
downloadnextcloud-server-d048ff719db224e145783c77d2f3b50c03eb30a0.tar.gz
nextcloud-server-d048ff719db224e145783c77d2f3b50c03eb30a0.zip
Remove redundant line
Diffstat (limited to 'lib/vcategories.php')
-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);