Permalink
Browse files

add `public static` keyword to Legacy_EventFunction class functions

  • Loading branch information...
nao-pon committed May 1, 2015
1 parent 310fa0c commit 77f80ff46dc08714bc9b819f608241f870e46ecc
Showing with 7 additions and 7 deletions.
  1. +7 −7 html/modules/legacy/kernel/Legacy_EventFunctions.class.php
@@ -12,7 +12,7 @@
class Legacy_EventFunction
{
function imageManager()
public static function imageManager()
{
require_once XOOPS_MODULE_PATH . "/legacy/class/ActionFrame.class.php";
@@ -32,7 +32,7 @@ function imageManager()
$root->mController->executeView();
}
function backend()
public static function backend()
{
require_once XOOPS_MODULE_PATH . "/legacy/class/ActionFrame.class.php";
@@ -49,7 +49,7 @@ function backend()
$root->mController->executeView();
}
function search()
public static function search()
{
require_once XOOPS_MODULE_PATH . "/legacy/class/ActionFrame.class.php";
@@ -68,7 +68,7 @@ function search()
}
function misc()
public static function misc()
{
require_once XOOPS_LEGACY_PATH . "/class/ActionFrame.class.php";
@@ -90,7 +90,7 @@ function misc()
$root->mController->executeView();
}
function notifications()
public static function notifications()
{
require_once XOOPS_LEGACY_PATH . "/class/ActionFrame.class.php";
@@ -126,7 +126,7 @@ function notifications()
*
* @param XCube_RenderBuffer $render
*/
function notifications_select(&$render)
public static function notifications_select(&$render)
{
require_once XOOPS_ROOT_PATH . '/include/notification_constants.php';
require_once XOOPS_ROOT_PATH . '/include/notification_functions.php';
@@ -198,7 +198,7 @@ function notifications_select(&$render)
*
* @static
*/
function recountPost(&$posts, $xoopsUser)
public static function recountPost(&$posts, $xoopsUser)
{
$handler =& xoops_gethandler('comment');
$criteria =new Criteria('com_uid', $xoopsUser->get('uid'));

0 comments on commit 77f80ff

Please sign in to comment.