summaryrefslogtreecommitdiff
path: root/modules/drupal
diff options
context:
space:
mode:
authorDries Buytaert <dries@buytaert.net>2004-01-02 16:28:45 +0000
committerDries Buytaert <dries@buytaert.net>2004-01-02 16:28:45 +0000
commitb63747fd30b575434fe5053724fe5e63b1c88df5 (patch)
treeed4eb97b48d170b9055f0cb1d3b0dfea76474e0c /modules/drupal
parentf6082cda98eab9732801e815a05aad1017446b12 (diff)
downloadbrdo-b63747fd30b575434fe5053724fe5e63b1c88df5.tar.gz
brdo-b63747fd30b575434fe5053724fe5e63b1c88df5.tar.bz2
- Removed the hard-coded list of watchdog types. The list is compiled
dynamically and can be extended through the watchdog() call. (Chris could use it to move the cron message to their own category.)
Diffstat (limited to 'modules/drupal')
-rw-r--r--modules/drupal/drupal.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/drupal/drupal.module b/modules/drupal/drupal.module
index 8ecb0aa74..4fa6a6041 100644
--- a/modules/drupal/drupal.module
+++ b/modules/drupal/drupal.module
@@ -80,7 +80,7 @@ function drupal_directory_ping($arguments) {
db_query("DELETE FROM {directory} WHERE link = '%s' OR mail = '%s'", $link, $mail);
db_query("INSERT INTO {directory} (link, name, mail, slogan, mission, timestamp) VALUES ('%s', '%s', '%s', '%s', '%s', %d)", $link, $name, $mail, $slogan, $mission, time());
- watchdog("message", "directory: ping from '$name' ($link)");
+ watchdog("regular", "directory: ping from '$name' ($link)");
return new xmlrpcresp(new xmlrpcval(1, "int"));
}