Removed old code accidently left in ($data)

This commit is contained in:
Luke Fitzgerald 2010-08-18 10:27:03 -07:00
parent 17f6c08063
commit 79a81e5d54

View File

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