mirror of
https://github.com/silverstripe/silverstripe-testsession
synced 2024-10-22 14:06:00 +02:00
Remvoed auto-create of database, it overrides the form choice
This commit is contained in:
parent
8b09514256
commit
de47ef0ed1
@ -44,7 +44,6 @@ class TestSessionController extends Controller {
|
|||||||
public function start() {
|
public function start() {
|
||||||
$this->extend('onBeforeStart');
|
$this->extend('onBeforeStart');
|
||||||
$params = $this->request->requestVars();
|
$params = $this->request->requestVars();
|
||||||
if(isset($params['createDatabase'])) $params['createDatabase'] = 1; // legacy default behaviour
|
|
||||||
$this->setState($params);
|
$this->setState($params);
|
||||||
$this->extend('onAfterStart');
|
$this->extend('onAfterStart');
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user