Delete unnecessary init() method in adminloggingController

This commit is contained in:
Kijin Sung 2024-11-16 22:38:39 +09:00
parent 25564913b8
commit 5c654c94b7

View file

@ -11,22 +11,6 @@
*/
class adminloggingController extends adminlogging
{
/**
* Initialization
* @return void
*/
function init()
{
// forbit access if the user is not an administrator
$oMemberModel = getModel('member');
$logged_info = $oMemberModel->getLoggedInfo();
if($logged_info->is_admin != 'Y')
{
throw new Rhymix\Framework\Exceptions\NotPermitted('admin.msg_is_not_administrator');
}
}
/**
* Insert log
* @return void