From d3e8a43d4fa34c54040ed8cafc26b43f2e53db78 Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Mon, 10 Jul 2006 08:05:15 +0000 Subject: - Patch #72343 by Chris Johnson: removed checks for the moderate-flag from the SQL queries. --- modules/ping/ping.module | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'modules/ping/ping.module') 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); } } -- cgit v1.2.3