diff options
author | Dries Buytaert <dries@buytaert.net> | 2001-04-06 14:14:16 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2001-04-06 14:14:16 +0000 |
commit | 8213f5b2627a6b63db9f84b572918bd7e3254dff (patch) | |
tree | bdaa19d917ce2d0db1ba54ef884e22a69130846a /modules/diary.module | |
parent | 048664f2786fce9bd049f39eea39a2a7fe2868f0 (diff) | |
download | brdo-8213f5b2627a6b63db9f84b572918bd7e3254dff.tar.gz brdo-8213f5b2627a6b63db9f84b572918bd7e3254dff.tar.bz2 |
A lot of small changes (search-n-replace) make a big commit:
- fixed update bug in book.module
- provide a log message when both adding and updating book pages
- all configurable variables are now accessed through "variable_get()":
- rewrote watchdog and submission throttle and removed watchdog.inc
- improved robustness of sections.inc
- imporved story.module
- updated ./database/database.sql
Diffstat (limited to 'modules/diary.module')
-rw-r--r-- | modules/diary.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/diary.module b/modules/diary.module index a706a106f..a3b757d79 100644 --- a/modules/diary.module +++ b/modules/diary.module @@ -164,7 +164,7 @@ function diary_page_submit($text, $id = 0) { db_query("UPDATE diaries SET text = '$text' WHERE id = '$id'"); } else { - watchdog("diary", "diary: new diary entry added"); + watchdog("special", "diary: new diary entry added"); db_query("INSERT INTO diaries (author, text, timestamp) VALUES ('$user->id', '$text', '". time() ."')"); } |