mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-16 20:34:34 -04:00
Rework keepmax (#5905)
* Rework keepmax fix https://github.com/FreshRSS/FreshRSS/issues/5702 fix https://github.com/FreshRSS/FreshRSS/issues/5870 * More WIP * Minor progress * Progress * Beta * Improved debug message * Revert noCommit * Fix variable reset * Remove debug syslogs
This commit is contained in:
committed by
GitHub
parent
eb2c2d9a01
commit
f0d4f2762d
@@ -327,7 +327,10 @@ final class GReaderAPI {
|
||||
$importService = new FreshRSS_Import_Service($user);
|
||||
$importService->importOpml($opml);
|
||||
if ($importService->lastStatus()) {
|
||||
FreshRSS_feed_Controller::actualizeFeed(0, '', true);
|
||||
[, , $nb_new_articles] = FreshRSS_feed_Controller::actualizeFeeds();
|
||||
if ($nb_new_articles > 0) {
|
||||
FreshRSS_feed_Controller::commitNewEntries();
|
||||
}
|
||||
invalidateHttpCache($user);
|
||||
exit('OK');
|
||||
} else {
|
||||
|
||||
Reference in New Issue
Block a user