summaryrefslogtreecommitdiff
path: root/includes/model/Room_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2017-07-28 18:50:00 +0200
committermsquare <msquare@notrademark.de>2017-07-28 18:50:00 +0200
commit5794c4cab8f6ef0529dfc51343b5ec78b134fb2a (patch)
tree02651ade8969f2e1cb0c75e0fc9a91cac08f8121 /includes/model/Room_model.php
parent144b453bc6b594ea16838a006eb20b04e5b5ec19 (diff)
clear delete queries from false resuls
Diffstat (limited to 'includes/model/Room_model.php')
-rw-r--r--includes/model/Room_model.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index fdd9dddc..d76e6036 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -17,11 +17,10 @@ function Rooms($show_all = false)
* Delete a room
*
* @param int $room_id
- * @return bool
*/
function Room_delete($room_id)
{
- return DB::delete('DELETE FROM `Room` WHERE `RID` = ?', [$room_id]);
+ DB::delete('DELETE FROM `Room` WHERE `RID` = ?', [$room_id]);
}
/**