From c2b85b539b024df9b030515fce2088a378d2f324 Mon Sep 17 00:00:00 2001 From: vargenau Date: Thu, 4 Jul 2013 14:43:33 +0000 Subject: [PATCH] Assume function_exists("_") git-svn-id: svn://svn.code.sf.net/p/phpwiki/code/trunk@8824 96ab9672-09ca-45d6-a79d-3d69d39ca109 --- lib/FileFinder.php | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/lib/FileFinder.php b/lib/FileFinder.php index 745e353b7..208311357 100644 --- a/lib/FileFinder.php +++ b/lib/FileFinder.php @@ -195,10 +195,7 @@ class FileFinder */ function _not_found($file) { - if (function_exists("_")) - trigger_error(sprintf(_("%s: file not found"), $file), E_USER_ERROR); - else - trigger_error(sprintf("%s: file not found", $file), E_USER_ERROR); + trigger_error(sprintf(_("%s: file not found"), $file), E_USER_ERROR); return false; } -- 2.42.0