summaryrefslogtreecommitdiffstats
path: root/lib/ui.lib.php
diff options
context:
space:
mode:
authorPaul Arthur <flowerysong00@yahoo.com>2012-03-31 18:06:26 -0400
committerPaul Arthur <paul.arthur@flowerysong.com>2012-04-12 21:13:29 -0400
commit15457b16f17a141fa76a3b9882892362b601787c (patch)
treee024e9fae4ecc7a414c710fe47958c041b46ffa0 /lib/ui.lib.php
parent5a9fba98cee095c9501259236745bfb8ceffa0f3 (diff)
downloadampache-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.php23
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.
*/