social tag - add UI

This commit is contained in:
Friendika 2011-10-24 15:47:17 -07:00
parent f48fd5aa16
commit 3b6b0eaa8b
9 changed files with 37 additions and 8 deletions

View file

@ -197,5 +197,6 @@ EOT;
proc_run('php',"include/notifier.php","like","$post_id");
return; // NOTREACHED
killme();
// return; // NOTREACHED
}

View file

@ -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