- Bugfix: flush the cache after updating the new feeds (or after having
added or removed news items). Fixes bug #2088.4.2.x
parent
646bb31a42
commit
4d29898a96
|
@ -394,6 +394,7 @@ function import_refresh($feed) {
|
|||
db_query("DELETE FROM item WHERE ". implode(" OR ", array_slice($items, 0, - 50)));
|
||||
}
|
||||
|
||||
cache_clear_all();
|
||||
}
|
||||
else {
|
||||
return t("failed to parse RSS feed '%site': no data.", array("%site" => $feed["tite"]));
|
||||
|
|
|
@ -394,6 +394,7 @@ function import_refresh($feed) {
|
|||
db_query("DELETE FROM item WHERE ". implode(" OR ", array_slice($items, 0, - 50)));
|
||||
}
|
||||
|
||||
cache_clear_all();
|
||||
}
|
||||
else {
|
||||
return t("failed to parse RSS feed '%site': no data.", array("%site" => $feed["tite"]));
|
||||
|
|
|
@ -394,6 +394,7 @@ function import_refresh($feed) {
|
|||
db_query("DELETE FROM item WHERE ". implode(" OR ", array_slice($items, 0, - 50)));
|
||||
}
|
||||
|
||||
cache_clear_all();
|
||||
}
|
||||
else {
|
||||
return t("failed to parse RSS feed '%site': no data.", array("%site" => $feed["tite"]));
|
||||
|
|
Loading…
Reference in New Issue