aboutsummaryrefslogtreecommitdiffstats
path: root/mod
diff options
context:
space:
mode:
authorFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
committerFriendika <info@friendika.com>2011-10-24 15:47:17 -0700
commit3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b (patch)
tree938348de7342a4730e4fa6f36090ae0742e86127 /mod
parentf48fd5aa1651cdc801473e9d24c1736304533e63 (diff)
downloadvolse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.gz
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.tar.bz2
volse-hubzilla-3b6b0eaa8ba8f59c70f66a6c92888f9ff2d5b41b.zip
social tag - add UI
Diffstat (limited to 'mod')
-rw-r--r--mod/like.php3
-rw-r--r--mod/tagger.php7
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