From: <var...@us...> - 2014-12-02 13:41:40
|
Revision: 9403 http://sourceforge.net/p/phpwiki/code/9403 Author: vargenau Date: 2014-12-02 13:41:37 +0000 (Tue, 02 Dec 2014) Log Message: ----------- static public --> public static to be consistent Modified Paths: -------------- trunk/lib/WikiDB.php trunk/lib/WikiPluginCached.php Modified: trunk/lib/WikiDB.php =================================================================== --- trunk/lib/WikiDB.php 2014-12-02 13:30:43 UTC (rev 9402) +++ trunk/lib/WikiDB.php 2014-12-02 13:41:37 UTC (rev 9403) @@ -95,7 +95,7 @@ * * @return WikiDB A WikiDB object. **/ - static public function open($dbparams) + public static function open($dbparams) { $dbtype = $dbparams{'dbtype'}; include_once("lib/WikiDB/$dbtype.php"); Modified: trunk/lib/WikiPluginCached.php =================================================================== --- trunk/lib/WikiPluginCached.php 2014-12-02 13:30:43 UTC (rev 9402) +++ trunk/lib/WikiPluginCached.php 2014-12-02 13:41:37 UTC (rev 9403) @@ -474,7 +474,7 @@ * * @return Cache copy of the cache object */ - static public function newCache() + public static function newCache() { static $staticcache; @@ -948,7 +948,7 @@ * @param array $bgcol background color; array(red,green,blue) * @return string image handle for gd routines */ - static public function text2img($txt, $fontnr, $textcol, $bgcol) + public static function text2img($txt, $fontnr, $textcol, $bgcol) { // basic (!) output for error handling This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |