Index: CHANGELOG.txt =================================================================== RCS file: /cvs/drupal/drupal/CHANGELOG.txt,v retrieving revision 1.256 diff -u -p -r1.256 CHANGELOG.txt --- CHANGELOG.txt 20 Feb 2008 13:46:36 -0000 1.256 +++ CHANGELOG.txt 9 Mar 2008 23:41:41 -0000 @@ -5,6 +5,9 @@ Drupal 7.0, xxxx-xx-xx (development vers - Usability: * Implemented drag-and-drop positioning for input format listings. * Provide descriptions for permissions on the administration page. +- Removed ping module: + * This module has been removed from the core download. Contributed + alternatives are available. Drupal 6.0, 2008-02-13 ---------------------- Index: INSTALL.txt =================================================================== RCS file: /cvs/drupal/drupal/INSTALL.txt,v retrieving revision 1.65 diff -u -p -r1.65 INSTALL.txt --- INSTALL.txt 17 Feb 2008 19:29:06 -0000 1.65 +++ INSTALL.txt 9 Mar 2008 23:41:41 -0000 @@ -206,8 +206,8 @@ INSTALLATION Many Drupal modules have periodic tasks that must be triggered by a cron maintenance task, including search module (to build and update the index used for keyword searching), aggregator module (to retrieve feeds from other - sites), ping module (to notify other sites about new or updated content), and - system module (to perform routine maintenance and pruning on system tables). + sites), and system module (to perform routine maintenance and pruning on + system tables). To activate these tasks, call the cron page by visiting http://www.example.com/cron.php, which, in turn, executes tasks on behalf of installed modules. Index: modules/ping/ping.info =================================================================== RCS file: modules/ping/ping.info diff -N modules/ping/ping.info --- modules/ping/ping.info 18 Feb 2008 19:19:46 -0000 1.5 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,6 +0,0 @@ -; $Id: ping.info,v 1.5 2008/02/18 19:19:46 dries Exp $ -name = Ping -description = Alerts other sites when your site has been updated. -package = Core - optional -version = VERSION -core = 7.x Index: modules/ping/ping.module =================================================================== RCS file: modules/ping/ping.module diff -N modules/ping/ping.module --- modules/ping/ping.module 19 Dec 2007 17:45:42 -0000 1.52 +++ /dev/null 1 Jan 1970 00:00:00 -0000 @@ -1,59 +0,0 @@ -'. t('The ping module is useful for notifying interested sites that your site has changed. It automatically sends notifications, or "pings", to the pingomatic service about new or updated content. In turn, pingomatic notifies other popular services, including weblogs.com, Technorati, blo.gs, BlogRolling, Feedster.com, and Moreover.', array('@external-http-pingomatic-com' => 'http://pingomatic.com/')) .'

'; - $output .= '

'. t('The ping module requires a correctly configured cron maintenance task.', array('@cron' => url('admin/reports/status'))) .'

'; - $output .= '

'. t('For more information, see the online handbook entry for Ping module.', array('@ping' => 'http://drupal.org/handbook/modules/ping/')) .'

'; - return $output; - } -} - -/** - * Implementation of hook_cron(). - * - * Fire off notifications of updates to remote sites. - */ -function ping_cron() { - global $base_url; - - if (variable_get('site_name', 0)) { - if (db_result(db_query("SELECT COUNT(*) 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', ''), $base_url); - } - } -} - -/** - * Call hook_ping() in all modules to notify remote sites that there is - * new content at this one. - */ -function _ping_notify($name, $url) { - module_invoke_all('ping', $name, $url); -} - -/** - * Implementation of hook_ping(). - * - * Notifies pingomatic.com, blo.gs, and technorati.com of changes at this site. - */ -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).', array(), WATCHDOG_WARNING); - } -} - - Index: modules/system/system.module =================================================================== RCS file: /cvs/drupal/drupal/modules/system/system.module,v retrieving revision 1.592 diff -u -p -r1.592 system.module --- modules/system/system.module 20 Feb 2008 13:46:41 -0000 1.592 +++ modules/system/system.module 9 Mar 2008 23:41:41 -0000 @@ -54,7 +54,7 @@ function system_help($path, $arg) { $output .= ''; $output .= '

'. t('For more information, see the online handbook entry for System module.', array('@system' => 'http://drupal.org/handbook/modules/system/')) .'

'; return $output;