1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix WCF 2.1 compatibility of RoomEditor::deleteAll()

This commit is contained in:
Tim Düsterhus 2015-04-01 23:10:23 +02:00
parent eec725e687
commit 689177a8bb

View File

@ -47,7 +47,9 @@ public static function deleteAll(array $objectIDs = array()) {
foreach ($objectIDs as $objectID) {
$select->execute(array($objectID));
$update->execute(array($select->fetchColumn()));
$showOrder = $select->fetchColumn();
$select->closeCursor();
$update->execute(array($showOrder));
}
$return = parent::deleteAll($objectIDs);