mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Allow extension of init()
This commit is contained in:
parent
bfb6ee04c8
commit
20efb0c6fa
@ -23,6 +23,8 @@ class TestSessionController extends Controller {
|
||||
|
||||
public function init() {
|
||||
parent::init();
|
||||
|
||||
$this->extend('init');
|
||||
|
||||
$canAccess = (
|
||||
!Director::isLive()
|
||||
|
Loading…
Reference in New Issue
Block a user