From: Matthias Schmidt Date: Thu, 27 Jun 2019 16:22:30 +0000 (+0200) Subject: Change code formatting X-Git-Tag: 5.2.0_Alpha_3~26^2~2 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=10b7f751085e042c20971b62ee88a26a376e03f1;p=GitHub%2FWoltLab%2FWCF.git Change code formatting --- 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();