SchemaController: fix compatibility, even if...

...currently unused
This commit is contained in:
Thomas Gelf 2017-07-04 22:08:06 +02:00
parent b390dd152e
commit 99c3ddcd55

View File

@ -16,7 +16,7 @@ class SchemaController extends ActionController
); );
} }
protected function tabs() protected function myTabs()
{ {
$tabs = $this->getTabs(); $tabs = $this->getTabs();
foreach ($this->schemas as $type => $title) { foreach ($this->schemas as $type => $title) {
@ -55,7 +55,7 @@ class SchemaController extends ActionController
exit; exit;
// TODO: Shutdown // TODO: Shutdown
} else { } else {
$this->tabs()->activate($type); $this->myTabs()->activate($type);
$this->view->title = $this->schemas[$type]; $this->view->title = $this->schemas[$type];
$this->view->schema = $schema; $this->view->schema = $schema;
$this->render('schema'); $this->render('schema');