Updated OSB to work with KH 3.1
This commit is contained in:
@@ -39,8 +39,6 @@ class Controller_Admin_Module extends Controller_Module {
|
||||
'title'=>_('Currently installed modules'),
|
||||
'body'=>$output,
|
||||
));
|
||||
|
||||
$this->template->content = Block::factory();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -94,8 +92,6 @@ class Controller_Admin_Module extends Controller_Module {
|
||||
'title'=>sprintf(_('%s Methods'),strtoupper($mo->name)),
|
||||
'body'=>$output,
|
||||
));
|
||||
|
||||
$this->template->content = Block::factory();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -37,7 +37,7 @@ class Controller_Admin_Module_Method extends Controller_Module {
|
||||
'body'=>sprintf(_('Method %s defined to database'),$mmo->name),
|
||||
));
|
||||
|
||||
Request::instance()->redirect(sprintf('admin/module/edit/%s',$mo->id));
|
||||
Request::current()->redirect(sprintf('admin/module/edit/%s',$mo->id));
|
||||
|
||||
} else {
|
||||
SystemMessage::add(array(
|
||||
@@ -56,8 +56,6 @@ class Controller_Admin_Module_Method extends Controller_Module {
|
||||
'title'=>sprintf(_('Add Method (%s) to Database for (%s)'),strtoupper($mmo->name),strtoupper($mo->name)),
|
||||
'body'=>$output,
|
||||
));
|
||||
|
||||
$this->template->content = Block::factory();
|
||||
}
|
||||
|
||||
/**
|
||||
@@ -131,8 +129,6 @@ class Controller_Admin_Module_Method extends Controller_Module {
|
||||
'title'=>sprintf(_('%s->%s Method'),strtoupper($mmo->module->name),strtoupper($mmo->name)),
|
||||
'body'=>$output,
|
||||
));
|
||||
|
||||
$this->template->content = Block::factory();
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
@@ -19,7 +19,7 @@ class Controller_Module extends Controller_TemplateDefault {
|
||||
|
||||
public function action_menu() {
|
||||
// Redirect us to the admin menu, no user facilities here!
|
||||
Request::instance()->redirect('/admin/module/menu');
|
||||
Request::current()->redirect('/admin/module/menu');
|
||||
}
|
||||
|
||||
/**
|
||||
|
Reference in New Issue
Block a user