Merge remote branch 'chat-interface-plugins/msn-plugin' into 1.0.x

This commit is contained in:
Craig Andrews 2010-08-18 13:34:39 -04:00
commit b699364982
1 changed files with 2 additions and 2 deletions

View File

@ -193,11 +193,11 @@ class MsnManager extends ImManager {
* @return void * @return void
*/ */
protected function requeue_waiting_messages() { protected function requeue_waiting_messages() {
$wm = Msn_waiting_message::top($data['to']); $wm = Msn_waiting_message::top();
while ($wm != NULL) { while ($wm != NULL) {
$this->plugin->send_message($wm->screenname, $wm->message); $this->plugin->send_message($wm->screenname, $wm->message);
$wm->delete(); $wm->delete();
$wm = Msn_waiting_message::top($data['to']); $wm = Msn_waiting_message::top();
} }
} }