1
0
mirror of https://github.com/wbbaddons/Tims-Chat.git synced 2024-10-31 14:10:08 +00:00

Fix formatting

I keep forgetting these rules ...
This commit is contained in:
Maximilian Mader 2013-08-02 19:59:57 +02:00
parent cc73d89672
commit 8c2d6efec0

View File

@ -81,7 +81,8 @@ public function readData() {
if ($this->date > TIME_NOW) {
throw new \wcf\system\exception\UserInputException('date', 'inFuture');
}
} catch (\wcf\system\exception\UserInputException $e) {
}
catch (\wcf\system\exception\UserInputException $e) {
$this->errorField = $e->getField();
$this->errorType = $e->getType();
@ -92,7 +93,8 @@ public function readData() {
if ($this->date < strtotime('today 00:00:00 -'.ceil(CHAT_LOG_ARCHIVETIME / 1440).'day')) {
throw new \wcf\system\exception\UserInputException('date', 'tooLongAgo');
}
} catch (\wcf\system\exception\UserInputException $e) {
}
catch (\wcf\system\exception\UserInputException $e) {
$this->errorField = $e->getField();
$this->errorType = $e->getType();