From 710448e73fe753c3bd1cac954ea7b5a750a416d1 Mon Sep 17 00:00:00 2001 From: Max Kostikov Date: Tue, 31 Mar 2020 19:58:08 +0200 Subject: Update Expire.php --- Zotlabs/Daemon/Expire.php | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Zotlabs/Daemon/Expire.php') diff --git a/Zotlabs/Daemon/Expire.php b/Zotlabs/Daemon/Expire.php index bce512b6d..186e88fc9 100644 --- a/Zotlabs/Daemon/Expire.php +++ b/Zotlabs/Daemon/Expire.php @@ -8,11 +8,11 @@ class Expire { static public function run($argc,$argv){ cli_startup(); - - if ($pid = get_xconfig(0, 'expire', 'procid', false)) { - logger('Expire: procedure already run with PID ' . $pid); - return; - } + + if ($pid = get_xconfig(0, 'expire', 'procid', false)) { + logger('Expire: procedure already run with PID ' . $pid, LOGGER_DEBUG); + return; + } set_xconfig(0, 'expire', 'procid', getmypid()); -- cgit v1.2.3