diff options
Diffstat (limited to 'lib/distribqueuehandler.php')
-rw-r--r-- | lib/distribqueuehandler.php | 28 |
1 files changed, 2 insertions, 26 deletions
diff --git a/lib/distribqueuehandler.php b/lib/distribqueuehandler.php index 4477468d0..d2be7a92c 100644 --- a/lib/distribqueuehandler.php +++ b/lib/distribqueuehandler.php @@ -63,31 +63,7 @@ class DistribQueueHandler // XXX: do we need to change this for remote users? try { - $notice->saveTags(); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $groups = $notice->saveGroups(); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $recipients = $notice->saveReplies(); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $notice->addToInboxes($groups, $recipients); - } catch (Exception $e) { - $this->logit($notice, $e); - } - - try { - $notice->saveUrls(); + $notice->addToInboxes(); } catch (Exception $e) { $this->logit($notice, $e); } @@ -107,7 +83,7 @@ class DistribQueueHandler return true; } - + protected function logit($notice, $e) { common_log(LOG_ERR, "Distrib queue exception saving notice $notice->id: " . |