diff options
author | Dries Buytaert <dries@buytaert.net> | 2006-07-10 08:05:15 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2006-07-10 08:05:15 +0000 |
commit | d3e8a43d4fa34c54040ed8cafc26b43f2e53db78 (patch) | |
tree | b3192373e37417a0de05656dd9e6c90659f8c42a /modules/ping/ping.module | |
parent | 6b2f4d681ad0c59fe6bf20f075a0187858269c2f (diff) | |
download | brdo-d3e8a43d4fa34c54040ed8cafc26b43f2e53db78.tar.gz brdo-d3e8a43d4fa34c54040ed8cafc26b43f2e53db78.tar.bz2 |
- Patch #72343 by Chris Johnson: removed checks for the moderate-flag from the SQL queries.
Diffstat (limited to 'modules/ping/ping.module')
-rw-r--r-- | modules/ping/ping.module | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/ping/ping.module b/modules/ping/ping.module index cf35a8e12..258639ef7 100644 --- a/modules/ping/ping.module +++ b/modules/ping/ping.module @@ -37,7 +37,7 @@ function ping_cron() { global $base_url; if (variable_get('site_name', 0) && variable_get('site_slogan', 0)) { - if (db_num_rows(db_query("SELECT nid FROM {node} WHERE status = 1 AND moderate = 0 AND (created > '". variable_get('cron_last', time()) ."' OR changed > '". variable_get('cron_last', time()) ."')"))) { + if (db_num_rows(db_query("SELECT nid FROM {node} WHERE status = 1 AND (created > '". variable_get('cron_last', time()) ."' OR changed > '". variable_get('cron_last', time()) ."')"))) { _ping_notify(variable_get('site_name', '') .' - '. variable_get('site_slogan', ''), $base_url); } } |