mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-07 02:31:40 +09:00
add trash module config
This commit is contained in:
parent
ad19805049
commit
af75450611
5 changed files with 53 additions and 0 deletions
|
|
@ -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 */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue