I've figured out why my leech feeds were not respecting the default 'Delete news items older than:' from my CCK content-type edit page.

in leech.module line 2496 is this:

$edit->leech_news->items_delete = variable_get('leech_news_items_delete_#'.$edit->type, 15724799);

and I think it should be without the '#'

$edit->leech_news->items_delete = variable_get('leech_news_items_delete_'.$edit->type, 15724799);

otherwise the items_delete value will always be 15724799.

Comments

alex_b’s picture

alex_b’s picture

Status: Needs review » Closed (fixed)