diff options
author | Paul Arthur <flowerysong00@yahoo.com> | 2012-03-31 18:06:26 -0400 |
---|---|---|
committer | Paul Arthur <paul.arthur@flowerysong.com> | 2012-04-12 21:13:29 -0400 |
commit | 15457b16f17a141fa76a3b9882892362b601787c (patch) | |
tree | e024e9fae4ecc7a414c710fe47958c041b46ffa0 /lib/ui.lib.php | |
parent | 5a9fba98cee095c9501259236745bfb8ceffa0f3 (diff) | |
download | ampache-15457b16f17a141fa76a3b9882892362b601787c.tar.gz ampache-15457b16f17a141fa76a3b9882892362b601787c.tar.bz2 ampache-15457b16f17a141fa76a3b9882892362b601787c.zip |
Drop unnecessary conditional definition of gettext
php-gettext will always provide these functions.
Diffstat (limited to 'lib/ui.lib.php')
-rw-r--r-- | lib/ui.lib.php | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/lib/ui.lib.php b/lib/ui.lib.php index 42003d9f..756db2fb 100644 --- a/lib/ui.lib.php +++ b/lib/ui.lib.php @@ -77,29 +77,6 @@ function flip_class($array=0) { } // flip_class /** - * _ - * Check to see if the gettext alias _ is defined. If it isn't we define it as - * a noop. - */ -if (!function_exists('_')) { - - function _($string) { - return $string; - } // _ - -} // if _ isn't defined - -/** - * ngettext - * checks for ngettext and defines it if it doesn't exist - */ -if (!function_exists('ngettext')) { - function ngettext($string) { - return $string; - } -} // if no ngettext - -/** * access_denied * Throws an error if they try to do something that they aren't allowed to. */ |