Jeremy Newman : remove debug func from trans

Jeremy Newman jnewman at wine.codeweavers.com
Tue Jan 19 12:45:30 CST 2016


Module: website
Branch: master
Commit: d7bae83b667166b0a0d4b220f9f30e6d950ee403
URL:    http://source.winehq.org/git/website.git/?a=commit;h=d7bae83b667166b0a0d4b220f9f30e6d950ee403

Author: Jeremy Newman <jnewman at codeweavers.com>
Date:   Tue Jan 19 11:21:04 2016 -0600

remove debug func from trans

---

 include/html.php | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/include/html.php b/include/html.php
index 439cb96..feaec1f 100644
--- a/include/html.php
+++ b/include/html.php
@@ -1300,9 +1300,6 @@ class html
 
         // debug load trans
         debug("func", "html:load_trans() -> table[{$lang}:{$table}]");
-        if ($GLOBALS['config']->web_debug and method_exists($GLOBALS['login'], 'checkpriv')
-            and $GLOBALS['login']->checkpriv($GLOBALS['login']->id, "debug_trans"))
-            crap("trans: templates/{$lang}/global/xml/trans/{$table}.xml");
 
         // done
         return 1;




More information about the wine-cvs mailing list