add trash module config

This commit is contained in:
BJRambo 2016-05-12 17:23:34 +09:00
parent ad19805049
commit af75450611
5 changed files with 53 additions and 0 deletions

View file

@ -226,6 +226,23 @@ class trashAdminController extends trash
return true;
}
/**
* set trash module config
* @return void|Object
*/
function procTrashAdminConfig()
{
$oTrashModel = getModel('trash');
$config = $oTrashModel->getConfig();
$obj = Context::getRequestVars();
$this->setMessage('success_updated');
$returnUrl = Context::get('success_return_url') ? Context::get('success_return_url') : getNotEncodedUrl('', 'module', 'admin', 'act', 'dispTrashAdminConfig');
$this->setRedirectUrl($returnUrl);
}
}
/* End of file trash.admin.controller.php */
/* Location: ./modules/trash/trash.admin.controller.php */