aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Expire.php
diff options
context:
space:
mode:
authorMax Kostikov <max@kostikov.co>2020-03-31 19:58:08 +0200
committerMax Kostikov <max@kostikov.co>2020-03-31 19:58:08 +0200
commit710448e73fe753c3bd1cac954ea7b5a750a416d1 (patch)
treeccf46dfb35bd12250bf8ab8a1a6d8f82b693d59d /Zotlabs/Daemon/Expire.php
parent084177a20c194767f227edb61acef236f99061f8 (diff)
downloadvolse-hubzilla-710448e73fe753c3bd1cac954ea7b5a750a416d1.tar.gz
volse-hubzilla-710448e73fe753c3bd1cac954ea7b5a750a416d1.tar.bz2
volse-hubzilla-710448e73fe753c3bd1cac954ea7b5a750a416d1.zip
Update Expire.php
Diffstat (limited to 'Zotlabs/Daemon/Expire.php')
-rw-r--r--Zotlabs/Daemon/Expire.php10
1 files changed, 5 insertions, 5 deletions
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());