mirror of
https://git.friendi.ca/friendica/friendica.git
synced 2025-06-17 04:45:16 +02:00
social tag - add UI
This commit is contained in:
parent
f48fd5aa16
commit
3b6b0eaa8b
9 changed files with 37 additions and 8 deletions
|
@ -197,5 +197,6 @@ EOT;
|
|||
|
||||
proc_run('php',"include/notifier.php","like","$post_id");
|
||||
|
||||
return; // NOTREACHED
|
||||
killme();
|
||||
// return; // NOTREACHED
|
||||
}
|
|
@ -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
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue