summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorstefan.r2016-09-26 12:32:04 (GMT)
committerstefan.r2016-09-26 12:32:04 (GMT)
commit0c770aa8b46a64584f46346484df5237ef37c79b (patch)
tree05af4baf7d73e7c7a4d81e038242beecb1991702
parent865bbe48ead6490343b222a0abf5d7a7cf97f7fa (diff)
Issue #2774725 by sandip27: Wrong hook is invoked (hook_aggregator_process() rather than hook_aggregator_process_info())7.x
-rw-r--r--modules/aggregator/aggregator.processor.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/aggregator/aggregator.processor.inc b/modules/aggregator/aggregator.processor.inc
index 44ed549..534cca5 100644
--- a/modules/aggregator/aggregator.processor.inc
+++ b/modules/aggregator/aggregator.processor.inc
@@ -72,7 +72,7 @@ function aggregator_aggregator_remove($feed) {
*/
function aggregator_form_aggregator_admin_form_alter(&$form, $form_state) {
if (in_array('aggregator', variable_get('aggregator_processors', array('aggregator')))) {
- $info = module_invoke('aggregator', 'aggregator_process', 'info');
+ $info = module_invoke('aggregator', 'aggregator_process_info');
$items = drupal_map_assoc(array(3, 5, 10, 15, 20, 25), '_aggregator_items');
$period = drupal_map_assoc(array(3600, 10800, 21600, 32400, 43200, 86400, 172800, 259200, 604800, 1209600, 2419200, 4838400, 9676800), 'format_interval');
$period[AGGREGATOR_CLEAR_NEVER] = t('Never');