]> git.mxchange.org Git - friendica.git/blobdiff - include/cronhooks.php
Preparations for the pumpio synchronisation.
[friendica.git] / include / cronhooks.php
index 096e10b718bd8ea51ff338f1b7a0bfa3e952c824..15d49fe5474b32101c60ff5ba90b58c383f1ac39 100644 (file)
@@ -24,9 +24,6 @@ function cronhooks_run(&$argv, &$argc){
        load_config('config');
        load_config('system');
 
-       if ($hostname =  get_config('system', 'hostname'))
-               $a->set_hostname($hostname);
-
        $lockpath = get_config('system','lockpath');
        if ($lockpath != '') {
                $pidfile = new pidfile($lockpath, 'cron.lck');