aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/entryController.php
diff options
context:
space:
mode:
Diffstat (limited to 'app/Controllers/entryController.php')
-rw-r--r--app/Controllers/entryController.php18
1 files changed, 12 insertions, 6 deletions
diff --git a/app/Controllers/entryController.php b/app/Controllers/entryController.php
index 0e8a4a1b9..1d4792267 100644
--- a/app/Controllers/entryController.php
+++ b/app/Controllers/entryController.php
@@ -196,7 +196,8 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
'a' => 'index',
'params' => $params,
],
- 'readAction'
+ notificationName: 'readAction ',
+ showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0
);
}
}
@@ -254,7 +255,11 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
$feedDAO->updateCachedValues();
invalidateHttpCache();
- Minz_Request::good(_t('feedback.admin.optimization_complete'), $url_redirect);
+ Minz_Request::good(
+ _t('feedback.admin.optimization_complete'),
+ $url_redirect,
+ showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0
+ );
}
/**
@@ -290,9 +295,10 @@ class FreshRSS_entry_Controller extends FreshRSS_ActionController {
$databaseDAO->minorDbMaintenance();
invalidateHttpCache();
- Minz_Request::good(_t('feedback.sub.purge_completed', $nb_total), [
- 'c' => 'configure',
- 'a' => 'archiving',
- ]);
+ Minz_Request::good(
+ _t('feedback.sub.purge_completed', $nb_total),
+ ['c' => 'configure', 'a' => 'archiving'],
+ showNotification: FreshRSS_Context::userConf()->good_notification_timeout > 0
+ );
}
}