summaryrefslogtreecommitdiff
path: root/modules/ping/ping.module
diff options
context:
space:
mode:
authorGábor Hojtsy <gabor@hojtsy.hu>2007-04-24 15:53:53 +0000
committerGábor Hojtsy <gabor@hojtsy.hu>2007-04-24 15:53:53 +0000
commit0a5ec93496168164c189d66def1d2c9728d1dc47 (patch)
treedccd3e5e10147d155226874fe2653d0d840a6982 /modules/ping/ping.module
parent9a6099c234d65989b7d912cba8bb6b5c4d681d96 (diff)
downloadbrdo-0a5ec93496168164c189d66def1d2c9728d1dc47.tar.gz
brdo-0a5ec93496168164c189d66def1d2c9728d1dc47.tar.bz2
#76588: Small fixes after that patch landed
- typo fix in watchdog() phpdoc - add a missing array() on a watchdog call in ping.module - handle NULL 'variables' value in syslog module Noticed these while writing the documentation for watchdog() updates and by comitting the updates into the i18n SVN repository.
Diffstat (limited to 'modules/ping/ping.module')
-rw-r--r--modules/ping/ping.module2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ping/ping.module b/modules/ping/ping.module
index 025b5da17..1e119993c 100644
--- a/modules/ping/ping.module
+++ b/modules/ping/ping.module
@@ -52,7 +52,7 @@ function ping_ping($name = '', $url = '') {
$result = xmlrpc('http://rpc.pingomatic.com', 'weblogUpdates.ping', $name, $url);
if ($result === FALSE) {
- watchdog('directory ping', 'Failed to notify pingomatic.com (site).', WATCHDOG_WARNING);
+ watchdog('directory ping', 'Failed to notify pingomatic.com (site).', array(), WATCHDOG_WARNING);
}
}