mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-21 11:22:34 +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
|
|
@ -629,7 +629,7 @@ class adminAdminView extends admin
|
|||
$domain_info = getModel('module')->getSiteInfo($domain_srl);
|
||||
if ($domain_info->domain_srl != $domain_srl)
|
||||
{
|
||||
return $this->setError('msg_domain_not_found');
|
||||
throw new Rhymix\Framework\Exception('msg_domain_not_found');
|
||||
}
|
||||
}
|
||||
Context::set('domain_info', $domain_info);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue