]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Fix reference to constant
authorZach Copley <zach@status.net>
Sat, 17 Sep 2011 21:38:47 +0000 (14:38 -0700)
committerZach Copley <zach@status.net>
Sat, 17 Sep 2011 21:38:47 +0000 (14:38 -0700)
plugins/Realtime/RealtimePlugin.php

index d2172dcf8d13b2d80d59b4ed769d0c3b0c4dc6a3..3d6302c4e46f8bd25191ceac7a0a9baac2b93b08 100644 (file)
@@ -188,7 +188,7 @@ class RealtimePlugin extends Plugin
         // Add to the public timeline
 
         if ($notice->is_local == Notice::LOCAL_PUBLIC ||
-            ($notice->is_local == Notice::REMOTE_OMB && !common_config('public', 'localonly'))) {
+            ($notice->is_local == Notice::REMOTE && !common_config('public', 'localonly'))) {
             $paths[] = array('public', null, null);
         }