summaryrefslogtreecommitdiff
path: root/includes/model/Room_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 19:15:52 +0200
committermsquare <msquare@notrademark.de>2017-07-28 19:15:52 +0200
commita0af8d4624be9ca8579817d291036a6727aeb574 (patch)
tree869e7c39a3ec05aa6a4e478b51eb59bbf42746d1 /includes/model/Room_model.php
parent5794c4cab8f6ef0529dfc51343b5ec78b134fb2a (diff)
further switching to db exceptions instead of return false
Diffstat (limited to 'includes/model/Room_model.php')
-rw-r--r--includes/model/Room_model.php4
1 files changed, 0 insertions, 4 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index d76e6036..08e0f7bf 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -66,10 +66,6 @@ function Room($room_id, $onlyVisible = true)
[$room_id]
);
- if (DB::getStm()->errorCode() != '00000') {
- return false;
- }
-
if (empty($room_source)) {
return null;
}