Update some modules to throw exceptions instead of BaseObject

This commit is contained in:
Kijin Sung 2018-08-27 00:03:12 +09:00
parent f6fa7493f6
commit 1863edcbb8
12 changed files with 118 additions and 118 deletions

View file

@ -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;