public function check() { $this->out('Check running tasks.'); Queue::check(); }
if ($objEditItem->check()) { if ($objEditItem->isLoaded()) { //$objEditItem->save($oldPriority, $testbed); $objEditItem->save(); $pMessage = $arrLanguageMessage['done_updated']; } else { $objEditItem->add(); $pMessage = $arrLanguageMessage['done_added']; } $objEditItem = new Queue(); } else { $hasErrors = 1; } } } else { if ($objEditItem->check()) { if ($objEditItem->isLoaded()) { //$objEditItem->save($oldPriority, $testbed); $objEditItem->save(); $pMessage = $arrLanguageMessage['done_updated']; } else { $objEditItem->add(); $pMessage = $arrLanguageMessage['done_added']; } $objEditItem = new Queue(); } else { $hasErrors = 1; } } } } else {