Uninstall support for an existing locale.
static public uninstallLocale ( $locale ) | ||
$locale | string |
/** * Uninstall support for a new locale. * @param $locale string */ function uninstallLocale($locale) { parent::uninstallLocale($locale); $genreDao =& DAORegistry::getDAO('GenreDAO'); $genreDao->uninstallLocale($locale); $publicationFormatDao =& DAORegistry::getDAO('PublicationFormatDAO'); $publicationFormatDao->uninstallLocale($locale); $userGroupDao =& DAORegistry::getDAO('UserGroupDAO'); $userGroupDao->deleteSettingsByLocale($locale); }
/** * Uninstall support for a new locale. * @param $locale string */ static function uninstallLocale($locale) { parent::uninstallLocale($locale); $genreDao = DAORegistry::getDAO('GenreDAO'); $genreDao->deleteSettingsByLocale($locale); $userGroupDao = DAORegistry::getDAO('UserGroupDAO'); $userGroupDao->deleteSettingsByLocale($locale); }