]> git.mxchange.org Git - friendica.git/blobdiff - include/notifier.php
Only update the contact entry with uid=0
[friendica.git] / include / notifier.php
index 6c42f19c6aec66c22d0f2522b15f13a8382b7ea8..18a617ac2f5698ed9605e87acfcfbce7cd50f70d 100644 (file)
@@ -223,7 +223,7 @@ function notifier_run(&$argv, &$argc){
 
        if(! ($mail || $fsuggest || $relocate)) {
 
-               $slap = ostatus_salmon($target_item,$owner);
+               $slap = ostatus::salmon($target_item,$owner);
 
                require_once('include/group.php');
 
@@ -536,7 +536,7 @@ function notifier_run(&$argv, &$argc){
        if($public_message) {
 
                if (!$followup AND $top_level)
-                       $r0 = diaspora_fetch_relay();
+                       $r0 = diaspora::relay_list();
                else
                        $r0 = array();
 
@@ -628,13 +628,6 @@ function notifier_run(&$argv, &$argc){
                proc_run('php','include/pubsubpublish.php');
        }
 
-       // If the item was deleted, clean up the `sign` table
-       if($target_item['deleted']) {
-               $r = q("DELETE FROM sign where `retract_iid` = %d",
-                       intval($target_item['id'])
-               );
-       }
-
        logger('notifier: calling hooks', LOGGER_DEBUG);
 
        if($normal_mode)