summaryrefslogtreecommitdiff
path: root/includes/model/Room_model.php
diff options
context:
space:
mode:
authormsquare <msquare@notrademark.de>2016-09-29 12:45:06 +0200
committermsquare <msquare@notrademark.de>2016-09-29 12:45:06 +0200
commit07ddbb0f4c76253b1d888ceab555bdf26992fd01 (patch)
tree9c4b6f3528e144bf675c78c6ddae848bf41c2cd6 /includes/model/Room_model.php
parentc231070dcc91d976a879674dd3fae7972cb064cf (diff)
make short variable names longer
Diffstat (limited to 'includes/model/Room_model.php')
-rw-r--r--includes/model/Room_model.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/includes/model/Room_model.php b/includes/model/Room_model.php
index 1768b61b..4d03260a 100644
--- a/includes/model/Room_model.php
+++ b/includes/model/Room_model.php
@@ -34,10 +34,10 @@ function Room_create($name, $from_frab, $public) {
/**
* Returns room by id.
*
- * @param $id RID
+ * @param $room_id RID
*/
-function Room($id) {
- $room_source = sql_select("SELECT * FROM `Room` WHERE `RID`='" . sql_escape($id) . "' AND `show` = 'Y'");
+function Room($room_id) {
+ $room_source = sql_select("SELECT * FROM `Room` WHERE `RID`='" . sql_escape($room_id) . "' AND `show` = 'Y'");
if ($room_source === false) {
return false;