/** * undocumented function * * @return void * @author **/ protected function deleteValid($id) { $exist = SocialActionCategory::isExist($id); if ($exist) { return false; } return true; }