aboutsummaryrefslogtreecommitdiffstats
path: root/include/enotify.php
diff options
context:
space:
mode:
authorfriendica <info@friendica.com>2013-05-09 18:08:00 -0700
committerfriendica <info@friendica.com>2013-05-09 18:08:00 -0700
commit112dbf3abd543152ad4ed3f444331ac88c1f4c46 (patch)
treebafcc41537c25afca1ba94564ade219b06203595 /include/enotify.php
parent735140e8d9f86c5ee0cbc29b50129e1abb73a647 (diff)
downloadvolse-hubzilla-112dbf3abd543152ad4ed3f444331ac88c1f4c46.tar.gz
volse-hubzilla-112dbf3abd543152ad4ed3f444331ac88c1f4c46.tar.bz2
volse-hubzilla-112dbf3abd543152ad4ed3f444331ac88c1f4c46.zip
get search page working with live-update and endless scroll, still not perfect - there may be duplicated content and possibly unauthorised content and 'timeago' not working correctly - will deal with those later, but at least you can see results.
Diffstat (limited to 'include/enotify.php')
-rw-r--r--include/enotify.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/include/enotify.php b/include/enotify.php
index 07e660191..a2b7b67b0 100644
--- a/include/enotify.php
+++ b/include/enotify.php
@@ -297,9 +297,16 @@ function notification($params) {
$datarray['type'] = $params['type'];
$datarray['verb'] = $params['verb'];
$datarray['otype'] = $params['otype'];
+ $datarray['abort'] = false;
call_hooks('enotify_store', $datarray);
+ if($datarray['abort']) {
+ pop_lang();
+ return;
+ }
+
+
// create notification entry in DB
$r = q("insert into notify (hash,name,url,photo,date,uid,link,parent,type,verb,otype)