diff --git a/html/core/XCube_Utils.class.php b/html/core/XCube_Utils.class.php index e8da4ec98..bd09932d1 100644 --- a/html/core/XCube_Utils.class.php +++ b/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();