From b3ed4a9fa3125ac858f1f3f9f7115dd0a4070c43 Mon Sep 17 00:00:00 2001 From: rohieb Date: Wed, 30 Jul 2008 19:03:14 +0200 Subject: [PATCH] mod_roomReservationConfig: when whitelisting a room, the log message for un-whitelisting was shown, and vice versa... --- includes/mod_roomReservationConfig.inc | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/includes/mod_roomReservationConfig.inc b/includes/mod_roomReservationConfig.inc index 72b630e..8dde982 100644 --- a/includes/mod_roomReservationConfig.inc +++ b/includes/mod_roomReservationConfig.inc @@ -182,7 +182,8 @@ class mod_roomReservationConfig { if(!$r) { throw new SQLException(MOD_ROOM_RESERVATION_ERROR_SQL); } else { - log_insert(sprintf("Raum „%s“ für Buchungen gesperrt", $sRoom)); + log_insert(sprintf("Raum „%s“ für Buchungen zur Verfügung gestellt", + $sRoom)); } } } @@ -198,8 +199,7 @@ class mod_roomReservationConfig { if(!$h) { throw new SQLException(MOD_ROOM_RESERVATION_ERROR_SQL); } else { - log_insert(sprintf("Raum „%s“ für Buchungen zur Verfügung gestellt", - $sRoom)); + log_insert(sprintf("Raum „%s“ für Buchungen gesperrt", $sRoom)); } } -- 2.20.1