Better typing and minor fixes to OStatus related stuff

This commit is contained in:
Mikael Nordfeldth
2013-11-01 13:20:23 +01:00
parent 810495708d
commit ca66860a4f
6 changed files with 42 additions and 36 deletions

View File

@@ -42,7 +42,7 @@ class PushInQueueHandler extends QueueHandler
$hmac = $data['hmac'];
$feedsub = FeedSub::getKV('id', $feedsub_id);
if ($feedsub) {
if ($feedsub instanceof FeedSub) {
try {
$feedsub->receive($post, $hmac);
} catch(Exception $e) {