mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2024-12-21 21:30:08 +00:00
Fix WCF 2.1 compatibility of RoomEditor::deleteAll()
This commit is contained in:
parent
eec725e687
commit
689177a8bb
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user