summaryrefslogtreecommitdiff
path: root/plugins/OStatus/lib/huboutqueuehandler.php
diff options
context:
space:
mode:
authorBrion Vibber <brion@pobox.com>2010-10-08 10:42:59 -0700
committerBrion Vibber <brion@pobox.com>2010-10-08 10:42:59 -0700
commit69b13cb279d7b60cb3a7beb9ad39cfe3a3b7745b (patch)
tree090562b1fe512b14d8b675ecd54691f499c1792a /plugins/OStatus/lib/huboutqueuehandler.php
parentf62e7c461f2fb4fcdc91b125072be953fc09fbe2 (diff)
Normalize execution guards on OStatus php files; mostly helps cut down on annoying 'class not found' errors when something spiders the dirs. :P
Diffstat (limited to 'plugins/OStatus/lib/huboutqueuehandler.php')
-rw-r--r--plugins/OStatus/lib/huboutqueuehandler.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/OStatus/lib/huboutqueuehandler.php b/plugins/OStatus/lib/huboutqueuehandler.php
index 3ad94646e..67a9d9e36 100644
--- a/plugins/OStatus/lib/huboutqueuehandler.php
+++ b/plugins/OStatus/lib/huboutqueuehandler.php
@@ -17,6 +17,10 @@
* along with this program. If not, see <http://www.gnu.org/licenses/>.
*/
+if (!defined('STATUSNET')) {
+ exit(1);
+}
+
/**
* Send a raw PuSH atom update from our internal hub.
* @package Hub