Housekeeping: add getPendingTasks helper method

This commit is contained in:
Thomas Gelf 2016-04-21 13:15:18 +02:00
parent 8c02b1e6c5
commit 9c283e8bb6

View File

@ -64,6 +64,11 @@ class Housekeeping
);
}
public function hasPendingTasks()
{
return count($this->getPendingTaskSummary()) > 0
}
public function runAllTasks()
{
$result = array();