commit queries in xmppdaemon::add_notice

darcs-hash:20080626071213-34904-aefba28162aa3afb1b3e8152ee8210fe3108b841.gz
This commit is contained in:
Evan Prodromou 2008-06-26 03:12:13 -04:00
parent 510ae5f3fb
commit 6bf590257f

View File

@ -148,6 +148,7 @@ class XMPPDaemon {
': ' . $last_error->message);
return;
}
$notice->query('COMMIT');
common_broadcast_notice($notice);
$this->log(LOG_INFO,
'Added notice ' . $notice->id . ' from user ' . $user->nickname);