diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-08-30 01:54:16 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-08-30 01:54:16 -0400 |
commit | 047db537261629da5aa4568a9b1d5741b02659a7 (patch) | |
tree | afde040a7ce006b29103bd8df13dfea1211892de /scripts | |
parent | ca1f639fd6d6da116fa9f61186bf13a84168af78 (diff) |
better logging in ombqueuehandler
darcs-hash:20080830055416-84dde-fad0303b1d4b7265e7f01faf90e088e409c7d8b3.gz
Diffstat (limited to 'scripts')
-rwxr-xr-x | scripts/ombqueuehandler.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/scripts/ombqueuehandler.php b/scripts/ombqueuehandler.php index 28c76db9a..292d13956 100755 --- a/scripts/ombqueuehandler.php +++ b/scripts/ombqueuehandler.php @@ -45,7 +45,7 @@ class OmbQueueHandler extends QueueHandler { function handle_notice($notice) { if ($this->is_remote($notice)) { - # It's fine, we're done with it. + $this->log(LOG_DEBUG, 'Ignoring remote notice ' . $notice->id); return true; } else { return omb_broadcast_remote_subscribers($notice); @@ -57,7 +57,7 @@ class OmbQueueHandler extends QueueHandler { function is_remote($notice) { $user = User::staticGet($notice->profile_id); - return !$user; + return is_null($user); } } |