Remove redundant line
This commit is contained in:
parent
73dd54c962
commit
d048ff719d
|
@ -551,7 +551,6 @@ class OC_VCategories {
|
||||||
try {
|
try {
|
||||||
$query = 'DELETE FROM `' . self::RELATION_TABLE . '` ';
|
$query = 'DELETE FROM `' . self::RELATION_TABLE . '` ';
|
||||||
$query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) ';
|
$query .= 'WHERE `objid` IN (' . str_repeat('?,', count($ids)-1) . '?) ';
|
||||||
$updates = $ids;
|
|
||||||
$query .= 'AND `type`= ?';
|
$query .= 'AND `type`= ?';
|
||||||
$updates[] = $type;
|
$updates[] = $type;
|
||||||
$stmt = OCP\DB::prepare($query);
|
$stmt = OCP\DB::prepare($query);
|
||||||
|
|
Loading…
Reference in New Issue