public static function deleteAll() { if (ZurmoRedBean::$writer->doesTableExist(static::getTableName())) { parent::deleteAll(); } }