summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--db/update.sql3
-rw-r--r--includes/sys_log.php1
2 files changed, 3 insertions, 1 deletions
diff --git a/db/update.sql b/db/update.sql
index db7d75ed..8364e2e5 100644
--- a/db/update.sql
+++ b/db/update.sql
@@ -1,3 +1,6 @@
+/* fix log */
+ALTER TABLE `LogEntries` CHANGE `nick` `nick` TEXT CHARACTER SET utf8 COLLATE utf8_general_ci NOT NULL ;
+
/* introduce got-voucher flag */
ALTER TABLE `User` ADD `got_voucher` BOOLEAN NOT NULL;
diff --git a/includes/sys_log.php b/includes/sys_log.php
index cf489ffa..66ff5820 100644
--- a/includes/sys_log.php
+++ b/includes/sys_log.php
@@ -15,7 +15,6 @@ function engelsystem_log($message) {
} else {
$nick = "Guest";
}
-
LogEntry_create($nick, $message);
}