]> git.mxchange.org Git - friendica.git/blobdiff - mod/item.php
notification testing
[friendica.git] / mod / item.php
index c32fb69521cc21a5f93c24f3010559e8560d9ec6..ece92f0f3d74a873ac23f4fd1eed63335db83f5f 100644 (file)
@@ -16,6 +16,7 @@
  */  
 
 require_once('include/crypto.php');
+require_once('include/enotify.php');
 
 function item_post(&$a) {
 
@@ -680,7 +681,6 @@ function item_post(&$a) {
                        );
 
                        if($contact_record != $author) {
-                               require_once('include/enotify.php');
                                notification(array(
                                        'type'         => NOTIFY_COMMENT,
                                        'notify_flags' => $user['notify-flags'],