mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-01-04 01:01:41 +09:00
Update some modules to throw exceptions instead of BaseObject
This commit is contained in:
parent
f6fa7493f6
commit
1863edcbb8
12 changed files with 118 additions and 118 deletions
|
|
@ -49,7 +49,7 @@ class integration_searchView extends integration_search
|
|||
}
|
||||
|
||||
// Check permissions
|
||||
if(!$this->grant->access) return $this->setError('msg_not_permitted');
|
||||
if(!$this->grant->access) throw new Rhymix\Framework\Exception('msg_not_permitted');
|
||||
|
||||
$config = $oModuleModel->getModuleConfig('integration_search');
|
||||
if(!$config) $config = new stdClass;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue