Further redoings
This commit is contained in:
parent
ed33d28e61
commit
e75f88d7fe
4 changed files with 0 additions and 12 deletions
|
@ -24,9 +24,6 @@ function cronhooks_run(&$argv, &$argc){
|
||||||
load_config('config');
|
load_config('config');
|
||||||
load_config('system');
|
load_config('system');
|
||||||
|
|
||||||
if ($hostname = get_config('system', 'hostname'))
|
|
||||||
$a->set_hostname($hostname);
|
|
||||||
|
|
||||||
$lockpath = get_config('system','lockpath');
|
$lockpath = get_config('system','lockpath');
|
||||||
if ($lockpath != '') {
|
if ($lockpath != '') {
|
||||||
$pidfile = new pidfile($lockpath, 'cron.lck');
|
$pidfile = new pidfile($lockpath, 'cron.lck');
|
||||||
|
|
|
@ -27,9 +27,6 @@ function delivery_run(&$argv, &$argc){
|
||||||
load_config('config');
|
load_config('config');
|
||||||
load_config('system');
|
load_config('system');
|
||||||
|
|
||||||
if ($hostname = get_config('system', 'hostname'))
|
|
||||||
$a->set_hostname($hostname);
|
|
||||||
|
|
||||||
load_hooks();
|
load_hooks();
|
||||||
|
|
||||||
if($argc < 3)
|
if($argc < 3)
|
||||||
|
|
|
@ -25,9 +25,6 @@ function expire_run(&$argv, &$argc){
|
||||||
load_config('config');
|
load_config('config');
|
||||||
load_config('system');
|
load_config('system');
|
||||||
|
|
||||||
if ($hostname = get_config('system', 'hostname'))
|
|
||||||
$a->set_hostname($hostname);
|
|
||||||
|
|
||||||
$a->set_baseurl(get_config('system','url'));
|
$a->set_baseurl(get_config('system','url'));
|
||||||
|
|
||||||
|
|
||||||
|
|
|
@ -24,9 +24,6 @@ function gprobe_run(&$argv, &$argc){
|
||||||
load_config('config');
|
load_config('config');
|
||||||
load_config('system');
|
load_config('system');
|
||||||
|
|
||||||
if ($hostname = get_config('system', 'hostname'))
|
|
||||||
$a->set_hostname($hostname);
|
|
||||||
|
|
||||||
$a->set_baseurl(get_config('system','url'));
|
$a->set_baseurl(get_config('system','url'));
|
||||||
|
|
||||||
load_hooks();
|
load_hooks();
|
||||||
|
|
Loading…
Reference in a new issue