uninstallLocale() static public method

Uninstall support for an existing locale.
static public uninstallLocale ( $locale )
$locale string
Esempio n. 1
0
 /**
  * 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);
 }
Esempio n. 2
0
 /**
  * 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);
 }