mirror of
https://github.com/EGroupware/egroupware.git
synced 2025-01-18 11:58:24 +01:00
Fix PHP 7.2 deprecated each()
This commit is contained in:
parent
c83d30512e
commit
211a8e5251
@ -366,7 +366,7 @@ class Asyncservice
|
||||
//echo "<p>last_check_run(semaphore=".($semaphore?'True':'False').",release=".($release?'True':'False').")</p>\n";
|
||||
if (($exists = $this->read('##last-check-run##')))
|
||||
{
|
||||
list(,$last_run) = each($exists);
|
||||
$last_run = array_pop($exists);
|
||||
}
|
||||
//echo "last_run (from db)=<pre>"; print_r($last_run); echo "</pre>\n";
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user