diff options
Diffstat (limited to 'mod')
-rw-r--r-- | mod/like.php | 3 | ||||
-rw-r--r-- | mod/tagger.php | 7 |
2 files changed, 6 insertions, 4 deletions
diff --git a/mod/like.php b/mod/like.php index 5c3dd323e..6b97fafb5 100644 --- a/mod/like.php +++ b/mod/like.php @@ -197,5 +197,6 @@ EOT; proc_run('php',"include/notifier.php","like","$post_id"); - return; // NOTREACHED + killme(); +// return; // NOTREACHED }
\ No newline at end of file diff --git a/mod/tagger.php b/mod/tagger.php index dd4b8ffea..4127aaadd 100644 --- a/mod/tagger.php +++ b/mod/tagger.php @@ -22,7 +22,6 @@ function tagger_content(&$a) { $r = q("SELECT * FROM `item` WHERE `id` = '%s' LIMIT 1", - dbesc($item_id), dbesc($item_id) ); @@ -43,8 +42,8 @@ function tagger_content(&$a) { $blocktags = $r[0]['blocktags']; } -// if(local_user() != $owner_uid) -// return; + if(local_user() != $owner_uid) + return; if(remote_user()) { $r = q("select * from contact where id = %d AND `uid` = %d limit 1", @@ -189,6 +188,8 @@ EOT; proc_run('php',"include/notifier.php","tag","$post_id"); + killme(); + return; // NOTREACHED |