Browse files

Remove deprecated i18n::include_locale_file()

Use Zend_Translate instead.
  • Loading branch information...
1 parent 587d669 commit f41650c64fc08f397dd64a62b5fb21246f6b86e3 @halkyon halkyon committed Nov 15, 2012
Showing with 0 additions and 14 deletions.
  1. +0 −14 i18n/i18n.php
View
14 i18n/i18n.php
@@ -1925,20 +1925,6 @@ public static function default_locale() {
public static function set_default_locale($locale) {
self::$default_locale = $locale;
}
-
- /**
- * Include a locale file determined by module name and locale
- *
- * @deprecated 3.0 Use Zend_Translate instead
- *
- * @param string $module Module that contains the locale file
- * @param string $locale Locale to be loaded
- */
- public static function include_locale_file($module, $locale) {
- Deprecation::notice('3.0', 'Use Zend_Translate instead.');
-
- if (file_exists($file = Director::getAbsFile("$module/lang/$locale.php"))) include_once($file);
- }
/**
* Includes all available language files for a certain defined locale.

0 comments on commit f41650c

Please sign in to comment.