aboutsummaryrefslogtreecommitdiffstats
path: root/Zotlabs/Daemon/Expire.php
diff options
context:
space:
mode:
authorMario Vavti <mario@mariovavti.com>2021-01-22 11:16:43 +0100
committerMario Vavti <mario@mariovavti.com>2021-01-22 11:16:43 +0100
commit78716c42d6ff31bcd89c2316166bf9731a5ab3ab (patch)
treecc8b489e1744b611e0c08e1f52c2e6ee54e1d2b6 /Zotlabs/Daemon/Expire.php
parente6aed4fb8ef5853f27100a2b9e2903323c874ce8 (diff)
parent064effe5fd861be2623c7bd1f8a6037e6d470c29 (diff)
downloadvolse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.tar.gz
volse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.tar.bz2
volse-hubzilla-78716c42d6ff31bcd89c2316166bf9731a5ab3ab.zip
Merge branch 'dev' of https://framagit.org/hubzilla/core into dev
Diffstat (limited to 'Zotlabs/Daemon/Expire.php')
-rw-r--r--Zotlabs/Daemon/Expire.php8
1 files changed, 4 insertions, 4 deletions
diff --git a/Zotlabs/Daemon/Expire.php b/Zotlabs/Daemon/Expire.php
index 8ca92b6c5..c4ff8aec6 100644
--- a/Zotlabs/Daemon/Expire.php
+++ b/Zotlabs/Daemon/Expire.php
@@ -9,14 +9,14 @@ class Expire {
cli_startup();
- $pid = get_config('expire', 'procid', false);
+ $pid = get_config('procid', 'expire', false);
if ($pid && (function_exists('posix_kill') ? posix_kill($pid, 0) : true)) {
- logger('Expire: procedure already run with pid ' . $pid, LOGGER_DEBUG);
+ logger('procedure already run with pid ' . $pid, LOGGER_DEBUG);
return;
}
$pid = getmypid();
- set_config('expire', 'procid', $pid);
+ set_config('procid', 'expire', $pid);
// perform final cleanup on previously delete items
@@ -101,6 +101,6 @@ class Expire {
logger('Expire: sys: done', LOGGER_DEBUG);
}
- del_config('expire', 'procid');
+ del_config('procid', 'expire');
}
}