private function saveLastSendDate() { if ($this->plannedTask->isPrimaryKeyEmpty()) { return; } $dateTime = new Gpf_DateTime(); $this->plannedTask->set(Gpf_Db_Table_PlannedTasks::PARAMS, $dateTime->toDateTime()); $this->plannedTask->save(); }