summaryrefslogtreecommitdiff
path: root/xmppdaemon.php
diff options
context:
space:
mode:
authorEvan Prodromou <evan@controlezvous.ca>2008-06-26 03:12:13 -0400
committerEvan Prodromou <evan@controlezvous.ca>2008-06-26 03:12:13 -0400
commit6bf590257ffaec8c7b8530ed8a2c378edeb8b93f (patch)
tree2ecb0bd296bd3109c3772998ff3f7999eceadbd8 /xmppdaemon.php
parent510ae5f3fb1e08dc5bfa96bf9dc004616d5e6b8d (diff)
commit queries in xmppdaemon::add_notice
darcs-hash:20080626071213-34904-aefba28162aa3afb1b3e8152ee8210fe3108b841.gz
Diffstat (limited to 'xmppdaemon.php')
-rw-r--r--xmppdaemon.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/xmppdaemon.php b/xmppdaemon.php
index c32462e17..1039407b3 100644
--- a/xmppdaemon.php
+++ b/xmppdaemon.php
@@ -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);