mirror of
https://github.com/Icinga/icingaweb2-module-director.git
synced 2025-07-26 23:34:10 +02:00
Housekeeping: add getPendingTasks helper method
This commit is contained in:
parent
8c02b1e6c5
commit
9c283e8bb6
@ -64,6 +64,11 @@ class Housekeeping
|
||||
);
|
||||
}
|
||||
|
||||
public function hasPendingTasks()
|
||||
{
|
||||
return count($this->getPendingTaskSummary()) > 0
|
||||
}
|
||||
|
||||
public function runAllTasks()
|
||||
{
|
||||
$result = array();
|
||||
|
Loading…
x
Reference in New Issue
Block a user