From: rohieb Date: Wed, 30 Jul 2008 17:03:14 +0000 (+0200) Subject: mod_roomReservationConfig: when whitelisting a room, the log message for un-whitelist... X-Git-Tag: REL_8.07.30~5 X-Git-Url: https://git.rohieb.name/iserv-mod-room-reservation.git/commitdiff_plain/b3ed4a9fa3125ac858f1f3f9f7115dd0a4070c43 mod_roomReservationConfig: when whitelisting a room, the log message for un-whitelisting was shown, and vice versa... --- 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)); } }