From 10b7f751085e042c20971b62ee88a26a376e03f1 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Thu, 27 Jun 2019 18:22:30 +0200 Subject: [PATCH] Change code formatting --- wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php b/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php index f85108cf43..1e4239635c 100644 --- a/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php +++ b/wcfsetup/install/files/lib/data/DatabaseObjectEditor.class.php @@ -112,8 +112,7 @@ abstract class DatabaseObjectEditor extends DatabaseObjectDecorator implements I $batchObjectIDs = array_slice($objectIDs, $i * $itemsPerLoop, $itemsPerLoop); $sql = "DELETE FROM " . static::getDatabaseTableName() . " - WHERE " . static::getDatabaseTableIndexName() . - " IN (?" . str_repeat(', ?', count($batchObjectIDs) - 1) . ")"; + WHERE " . static::getDatabaseTableIndexName() . " IN (?" . str_repeat(', ?', count($batchObjectIDs) - 1) . ")"; $statement = WCF::getDB()->prepareStatement($sql); $statement->execute($batchObjectIDs); $affectedCount += $statement->getAffectedRows(); -- 2.20.1