mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-05-11 21:12:15 +09:00
Fix more unnecessary non-static method calls
This commit is contained in:
parent
61114c5198
commit
a1848f5e89
1 changed files with 3 additions and 3 deletions
|
|
@ -258,7 +258,7 @@ class Context
|
||||||
}
|
}
|
||||||
|
|
||||||
// Set information about the current request.
|
// Set information about the current request.
|
||||||
self::$_instance->setRequestMethod();
|
self::setRequestMethod();
|
||||||
self::$_instance->_checkGlobalVars();
|
self::$_instance->_checkGlobalVars();
|
||||||
self::$_instance->_setXmlRpcArgument();
|
self::$_instance->_setXmlRpcArgument();
|
||||||
self::$_instance->_setJSONRequestArgument();
|
self::$_instance->_setJSONRequestArgument();
|
||||||
|
|
@ -273,7 +273,7 @@ class Context
|
||||||
}
|
}
|
||||||
|
|
||||||
// Load system configuration.
|
// Load system configuration.
|
||||||
self::$_instance->loadDBInfo();
|
self::loadDBInfo();
|
||||||
|
|
||||||
// If Rhymix is installed, get virtual site information.
|
// If Rhymix is installed, get virtual site information.
|
||||||
if(self::isInstalled())
|
if(self::isInstalled())
|
||||||
|
|
@ -1121,7 +1121,7 @@ class Context
|
||||||
*/
|
*/
|
||||||
public static function setRequestMethod($type = '')
|
public static function setRequestMethod($type = '')
|
||||||
{
|
{
|
||||||
self::$_instance->js_callback_func = self::$_instance->getJSCallbackFunc();
|
self::$_instance->js_callback_func = self::getJSCallbackFunc();
|
||||||
|
|
||||||
if ($type)
|
if ($type)
|
||||||
{
|
{
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue