Remvoed auto-create of database, it overrides the form choice

This commit is contained in:
Ingo Schommer 2013-12-11 00:43:00 +01:00
parent 8b09514256
commit de47ef0ed1

View File

@ -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');