Permalink
Browse files

[XCube_Utiles] add "public static" keyword to static functions

  • Loading branch information...
nao-pon committed Apr 19, 2015
1 parent a059ef4 commit ddc51e7faf5d58b4bda54925a4b403859ff92261
Showing with 2 additions and 2 deletions.
  1. +2 −2 html/core/XCube_Utils.class.php
@@ -33,7 +33,7 @@ function XCube_Utils()
* @deprecated XCube 1.0 will remove this method. Don't use static function of XCube
* layer for redirect.
*/
function redirectHeader($url, $time, $messages = null)
public static function redirectHeader($url, $time, $messages = null)
{
$root =& XCube_Root::getSingleton();
$root->mController->executeRedirect($url, $time, $messages);
@@ -70,7 +70,7 @@ function redirectHeader($url, $time, $messages = null)
* This method doesn't implement the provider which knows how to format
* for each locales. So, this method is interim implement.
*/
function formatString()
public static function formatString()
{
$arr = func_get_args();

0 comments on commit ddc51e7

Please sign in to comment.