From e75f88d7fe964b5ff1a51867c8168cc1f7e3eed8 Mon Sep 17 00:00:00 2001 From: Michael Vogel Date: Mon, 12 Aug 2013 11:12:00 +0200 Subject: [PATCH] Further redoings --- include/cronhooks.php | 3 --- include/delivery.php | 3 --- include/expire.php | 3 --- include/gprobe.php | 3 --- 4 files changed, 12 deletions(-) diff --git a/include/cronhooks.php b/include/cronhooks.php index 096e10b718..15d49fe547 100644 --- a/include/cronhooks.php +++ b/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'); diff --git a/include/delivery.php b/include/delivery.php index 515f286e0f..d89cded9eb 100644 --- a/include/delivery.php +++ b/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) diff --git a/include/expire.php b/include/expire.php index fe1007efd5..a73272a2ef 100644 --- a/include/expire.php +++ b/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')); diff --git a/include/gprobe.php b/include/gprobe.php index 00a8e562af..0cf32e95fe 100644 --- a/include/gprobe.php +++ b/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();