silence
Well-known member
I'm trying to extend XenForo_ControllerPublic_Account but when I do, it won't let me access my control panel (usercp) and gives me this error:
Here is my listener that I am loading the class controller with:
Here is the controller public:
What can I do to fix this?
Thanks!
Code:
The controller XenForo_ControllerPublic_Account does not define an action called PersonalDetails.
Here is my listener that I am loading the class controller with:
PHP:
public static function loadClassController($class, array &$extend)
{
switch($class)
{
case 'XenForo_ControllerPublic_Account':
$extend[] = 'Test_ControllerPublic_Account';
break;
}
}
Code:
class Test_ControllerPublic_Account extends XenForo_ControllerPublic_Abstract
{
public function actionIndex()
{
return;
}
}
Thanks!