X-Git-Url: https://git.mxchange.org/?a=blobdiff_plain;f=mod%2Flike.php;h=bbb07289659257b4efdbda20fc294139509427d6;hb=a22581e86cba4c96980ef7bd334aaaa43d02176d;hp=5ed58245ae1a505fce479c8e096c753f079ab70a;hpb=c980e6d20d08b6addb2938bd2e51bd599ae71d1d;p=friendica.git diff --git a/mod/like.php b/mod/like.php index 5ed58245ae..bbb0728965 100755 --- a/mod/like.php +++ b/mod/like.php @@ -136,10 +136,6 @@ function like_content(&$a) { // Save the author information for the unlike in case we need to relay to Diaspora store_diaspora_like_retract_sig($activity, $item, $like_item, $contact); - // if no auto update is enabled, then disable it temporarily - if (get_pconfig($owner_uid, "system", "no_auto_update") == 1) - set_pconfig($owner_uid, "system", "no_auto_update", -1); - // proc_run('php',"include/notifier.php","like","$post_id"); // $post_id isn't defined here! $like_item_id = $like_item['id']; proc_run('php',"include/notifier.php","like","$like_item_id"); @@ -222,10 +218,6 @@ EOT; // Save the author information for the like in case we need to relay to Diaspora store_diaspora_like_sig($activity, $post_type, $contact, $post_id); - // if no auto update is enabled, then disable it temporarily - if (get_pconfig($owner_uid, "system", "no_auto_update") == 1) - set_pconfig($owner_uid, "system", "no_auto_update", -1); - $arr['id'] = $post_id; call_hooks('post_local_end', $arr);