From 15457b16f17a141fa76a3b9882892362b601787c Mon Sep 17 00:00:00 2001 From: Paul Arthur Date: Sat, 31 Mar 2012 18:06:26 -0400 Subject: Drop unnecessary conditional definition of gettext php-gettext will always provide these functions. --- lib/ui.lib.php | 23 ----------------------- 1 file changed, 23 deletions(-) (limited to 'lib/ui.lib.php') 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 @@ -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. -- cgit