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

Merge branch '3.0.x'

This commit is contained in:
Tim Düsterhus 2015-04-01 23:11:34 +02:00
commit 46315240ac

View File

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