summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGábor Hojtsy2010-03-01 10:26:48 (GMT)
committer Gábor Hojtsy2010-03-01 10:26:48 (GMT)
commit0010c64f44c7516b9f0a5732718e0ff351e095a9 (patch)
treed234cd9edc675c6e9095b325ad8f4ae1547ce351
parentcabae41f899ccccc4d96df0e83f88058d0a517c3 (diff)
#696684 by confiz: add minimal documentation to dblog_watchdog()
-rw-r--r--modules/dblog/dblog.module3
1 files changed, 3 insertions, 0 deletions
diff --git a/modules/dblog/dblog.module b/modules/dblog/dblog.module
index dfb28b2..e5fb88b 100644
--- a/modules/dblog/dblog.module
+++ b/modules/dblog/dblog.module
@@ -126,6 +126,9 @@ function _dblog_get_message_types() {
return $types;
}
+/**
+ * Implementation of hook_watchdog().
+ */
function dblog_watchdog($log = array()) {
$current_db = db_set_active();
db_query("INSERT INTO {watchdog}