function doUp() { global $database; $task = BatchTask::get()->filter('Name', SpeakerSelectionAnnouncementSenderManager::TaskName)->first(); if (!is_null($task)) { $task->delete(); } }