Browse Source

Further redoings

pull/758/head
Michael Vogel 8 years ago
parent
commit
e75f88d7fe
  1. 3
      include/cronhooks.php
  2. 3
      include/delivery.php
  3. 3
      include/expire.php
  4. 3
      include/gprobe.php

3
include/cronhooks.php

@ -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');

3
include/delivery.php

@ -27,9 +27,6 @@ function delivery_run(&$argv, &$argc){
load_config('config');
load_config('system');
if ($hostname = get_config('system', 'hostname'))
$a->set_hostname($hostname);
load_hooks();
if($argc < 3)

3
include/expire.php

@ -25,9 +25,6 @@ function expire_run(&$argv, &$argc){
load_config('config');
load_config('system');
if ($hostname = get_config('system', 'hostname'))
$a->set_hostname($hostname);
$a->set_baseurl(get_config('system','url'));

3
include/gprobe.php

@ -24,9 +24,6 @@ function gprobe_run(&$argv, &$argc){
load_config('config');
load_config('system');
if ($hostname = get_config('system', 'hostname'))
$a->set_hostname($hostname);
$a->set_baseurl(get_config('system','url'));
load_hooks();

Loading…
Cancel
Save