explicitly set the module for log_insert(), SQL table is updated automagically on...
authorrohieb <devnull@localhost>
Sun, 13 Jul 2008 21:03:36 +0000 (23:03 +0200)
committerrohieb <devnull@localhost>
Sun, 13 Jul 2008 21:03:36 +0000 (23:03 +0200)
Makefile [changed mode: 0644->0755]
includes/functions.inc [changed mode: 0644->0755]

old mode 100644 (file)
new mode 100755 (executable)
index 1cd33c8..2a4fc00
--- a/Makefile
+++ b/Makefile
@@ -71,12 +71,6 @@ sourcedoc:
 install: sourcedoc links\r
        chkdb -r\r
        chkpriv\r
-       \r
-       @if [ -z "`psql -qc "SELECT * FROM log_module;" 2>&1 |grep ERROR`" -a -z \\r
-         "`psql -qc \"SELECT COUNT(*) FROM log_module WHERE module = 'Room Reservation Schedule';\" 2>&1 |grep ' 1'`" ]; then \\r
-         echo psql -c "INSERT INTO log_module VALUES('Room Reservation Schedule');"; \\r
-         psql -c "INSERT INTO log_module VALUES('Room Reservation Schedule');"; \\r
-       fi;\r
        chklocale\r
 \r
 # uninstalling\r
old mode 100644 (file)
new mode 100755 (executable)
index 1704bc5..bdb79a6
@@ -183,7 +183,7 @@ function isMailAddress($strAddr) {
  * @return void
  */
 function rrInsertLog($strLog) {
- log_insert("Raumbelegungsplan: " . $strLog);
+ log_insert($strLog, null, "Room Reservation Schedule");
 }
 
 /**
This page took 0.025604 seconds and 4 git commands to generate.