]> git.mxchange.org Git - quix0rs-gnu-social.git/blobdiff - plugins/OStatus/lib/salmonqueuehandler.php
Localisation updates from http://translatewiki.net.
[quix0rs-gnu-social.git] / plugins / OStatus / lib / salmonqueuehandler.php
index 7eeb5f8e9c1f54988e19d5dcc5c566b2fddc7264..e70d5ff521d9e4793c458eef4772856785a4326b 100644 (file)
  * along with this program.  If not, see <http://www.gnu.org/licenses/>.
  */
 
+if (!defined('STATUSNET')) {
+    exit(1);
+}
+
 /**
  * Send a Salmon notification in the background.
  * @package OStatusPlugin
@@ -36,7 +40,7 @@ class SalmonQueueHandler extends QueueHandler
         assert(is_string($data['entry']));
 
         $actor = Profile::staticGet($data['actor']);
-        
+
         $salmon = new Salmon();
         $salmon->post($data['salmonuri'], $data['entry'], $actor);