diff options
Diffstat (limited to 'app/FreshRSS.php')
| -rw-r--r-- | app/FreshRSS.php | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/app/FreshRSS.php b/app/FreshRSS.php index 264d8ff1a..c31655aa0 100644 --- a/app/FreshRSS.php +++ b/app/FreshRSS.php @@ -16,7 +16,6 @@ class FreshRSS extends Minz_FrontController { * - Init i18n (need context) * - Init sharing system (need user conf and i18n) * - Init generic styles and scripts (need user conf) - * - Init notifications * - Enable user extensions (need all the other initializations) */ public function init(): void { @@ -58,7 +57,6 @@ class FreshRSS extends Minz_FrontController { // Complete initialization of the other FreshRSS / Minz components. self::initI18n(); - self::loadNotifications(); // Enable extensions for the current (logged) user. if (FreshRSS_Auth::hasAccess() || FreshRSS_Context::systemConf()->allow_anonymous) { $ext_list = FreshRSS_Context::userConf()->extensions_enabled; @@ -151,13 +149,6 @@ class FreshRSS extends Minz_FrontController { FreshRSS_View::prependScript(Minz_Url::display('/scripts/main.js?' . @filemtime(PUBLIC_PATH . '/scripts/main.js'))); } - private static function loadNotifications(): void { - $notif = Minz_Request::getNotification(); - if (!empty($notif)) { - FreshRSS_View::_param('notification', $notif); - } - } - public static function preLayout(): void { header("X-Content-Type-Options: nosniff"); |
