function SelectLastFunabolCronRun() { $run_date = null; if (!$this->_dbConnection->Execute($this->_commandCreator->SelectLastFunabolCronRun())) { return false; } $row = $this->_dbConnection->GetNextRecord(); if ($row) { $run_date = $row->run_date; $this->_dbConnection->FreeResult(); } return $run_date; }