Change redirect on feed importation
This commit is contained in:
parent
4fe64668a5
commit
f1479befd3
@ -336,13 +336,13 @@ Router\post_action('import', function() {
|
||||
if (Model\import_feeds(Request\file_content('file'))) {
|
||||
|
||||
Session\flash(t('Your feeds have been imported.'));
|
||||
Response\redirect('?action=feeds');
|
||||
}
|
||||
else {
|
||||
|
||||
Session\flash_error(t('Unable to import your OPML file.'));
|
||||
}
|
||||
|
||||
Response\redirect('?action=import');
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user