[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-cvs] [20979] Improvement: use static method - 4512:4565
From: |
Sigurd Nes |
Subject: |
[Phpgroupware-cvs] [20979] Improvement: use static method - 4512:4565 |
Date: |
Fri, 22 Jan 2010 09:50:50 +0000 |
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');
}
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [Phpgroupware-cvs] [20979] Improvement: use static method - 4512:4565,
Sigurd Nes <=