1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-05 19:41:55 +02:00

Drop unnecessary conditional definition of gettext

php-gettext will always provide these functions.
This commit is contained in:
Paul Arthur 2012-03-31 18:06:26 -04:00 committed by Paul Arthur
parent 5a9fba98ce
commit 15457b16f1

View file

@ -76,29 +76,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.