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
|
|
@ -151,7 +151,7 @@ class spamfilterAdminController extends spamfilter
|
|||
|
||||
if (mb_strlen($word, 'UTF-8') < 2 || mb_strlen($word, 'UTF-8') > 180)
|
||||
{
|
||||
return $this->setError('msg_invalid_word');
|
||||
throw new Rhymix\Framework\Exception('msg_invalid_word');
|
||||
}
|
||||
|
||||
$args = new stdClass;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue