mirror of
https://github.com/wbbaddons/Tims-Chat.git
synced 2025-01-09 00:20:08 +00:00
Properly refer to exceptions
This commit is contained in:
parent
e72005d8f8
commit
c4dcb88bea
@ -86,11 +86,11 @@ public function validateUpdatePosition() {
|
||||
WCF::getSession()->checkPermissions($this->permissionsUpdate);
|
||||
}
|
||||
else {
|
||||
throw new PermissionDeniedException();
|
||||
throw new \wcf\system\exception\PermissionDeniedException();
|
||||
}
|
||||
|
||||
if (!isset($this->parameters['data']['structure'])) {
|
||||
throw new UserInputException('structure');
|
||||
throw new \wcf\system\exception\UserInputException('structure');
|
||||
}
|
||||
|
||||
if (!isset($this->parameters['data']['offset'])) $this->parameters['data']['offset'] = 0;
|
||||
|
Loading…
Reference in New Issue
Block a user