]> git.mxchange.org Git - friendica.git/blobdiff - include/cron.php
Merge pull request #2016 from fabrixxm/template_vars_hook
[friendica.git] / include / cron.php
index 0c9d6baa583f8938d72908430a16f1ff0854a1ce..46067d76da05f88c10b4173c212466abee82c7e0 100644 (file)
@@ -225,9 +225,6 @@ function cron_run(&$argv, &$argc){
 
        $d = datetime_convert();
 
-       if(! $restart)
-               proc_run('php','include/cronhooks.php');
-
        // Only poll from those with suitable relationships,
        // and which have a polling address and ignore Diaspora since
        // we are unable to match those posts with a Diaspora GUID and prevent duplicates.
@@ -339,6 +336,6 @@ function cron_run(&$argv, &$argc){
 }
 
 if (array_search(__file__,get_included_files())===0){
-  cron_run($_SERVER["argv"],$_SERVER["argc"]);
-  killme();
+       cron_run($_SERVER["argv"],$_SERVER["argc"]);
+       killme();
 }