Makefile: owner and file rights of config.inc were twice checked
[iserv-mod-room-reservation.git] / includes / mod_roomReservationRoomsManager.inc
index 8271a04..732b3dc 100755 (executable)
@@ -117,7 +117,7 @@ class mod_roomReservationRoomsManager {
    * Get all rooms from the database
    * @return array of mod_roomReservationRoom
    */
    * 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)) {
     $aoReturn = array();
     $hQuery = db_query("SELECT * FROM rooms ORDER BY name;");
     while($arResult = pg_fetch_array($hQuery)) {
This page took 0.02433 seconds and 4 git commands to generate.