Further redoings

This commit is contained in:
Michael Vogel 2013-08-12 11:12:00 +02:00
parent ed33d28e61
commit e75f88d7fe
4 changed files with 0 additions and 12 deletions

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

View file

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

View file

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

View file

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