mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-08-19 13:25:36 -04:00
Updates for the latest version of Kohana 2.4:
1) Controller::$input is gone -- use Input::instance() now 2) Handle new 'database.<default>.connection.params' parameter 3) Handle new 'cache.<default>.prefix' parameter
This commit is contained in:
@@ -37,7 +37,7 @@ class Admin_Modules_Controller extends Admin_Controller {
|
||||
continue;
|
||||
}
|
||||
|
||||
$desired = $this->input->post($module_name) == 1;
|
||||
$desired = Input::instance()->post($module_name) == 1;
|
||||
if ($info->active && !$desired && module::is_active($module_name)) {
|
||||
$changes->deactivate[] = $module_name;
|
||||
$deactivated_names[] = t($info->name);
|
||||
|
||||
Reference in New Issue
Block a user