From: rohieb Date: Thu, 24 Jul 2008 01:05:36 +0000 (+0200) Subject: made mod_roomReservationRoomsManager::getRooms() static X-Git-Tag: REL_3.0^2~12 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/ebdc655b370ea51d50927b3684e599e2011c2ffe made mod_roomReservationRoomsManager::getRooms() static --- diff --git a/includes/mod_roomReservationRoomsManager.inc b/includes/mod_roomReservationRoomsManager.inc old mode 100644 new mode 100755 index 8271a04..732b3dc --- a/includes/mod_roomReservationRoomsManager.inc +++ b/includes/mod_roomReservationRoomsManager.inc @@ -117,7 +117,7 @@ class mod_roomReservationRoomsManager { * Get all rooms from the database * @return array of mod_roomReservationRoom */ - function getRooms() { + static function getRooms() { $aoReturn = array(); $hQuery = db_query("SELECT * FROM rooms ORDER BY name;"); while($arResult = pg_fetch_array($hQuery)) {