Revision: 20979
          
http://svn.sv.gnu.org/viewvc/?view=rev&root=phpgroupware&revision=20979
Author:   sigurdne
Date:     2010-01-22 09:50:50 +0000 (Fri, 22 Jan 2010)
Log Message:
-----------
Improvement: use static method  - 4512:4565

Modified Paths:
--------------
    people/sigurdne/modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php

Modified: people/sigurdne/modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php
===================================================================
--- people/sigurdne/modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php      
2010-01-22 09:50:04 UTC (rev 20978)
+++ people/sigurdne/modules/phpgwapi/trunk/inc/class.xslttemplates.inc.php      
2010-01-22 09:50:50 UTC (rev 20979)
@@ -15,7 +15,10 @@
        {
                die('PHP CONFIGURATION. xslt-extension is not loaded. Please 
contact the system administrator.');
        }
-       
+
+       phpgw::import_class('phpgwapi.browser');        
+
+
        /**
        * Include xml tool
        */
@@ -67,7 +70,7 @@
                                $this->print = true;
                        }
                        $this->set_root($root);
-                       if ( execMethod('phpgwapi.browser.is_mobile') )
+                       if ( phpgwapi_browser::is_mobile() )
                        {
                                $this->set_output('wml');
                        }



_______________________________________________
phpGroupWare-cvs mailing list
[email protected]
http://lists.gnu.org/mailman/listinfo/phpgroupware-cvs

Reply via email to