Bladeren bron

Revert; Notifications needed also for non-layout requests

Alexandre Alapetite 10 jaren geleden
bovenliggende
commit
805ec6392c
1 gewijzigde bestanden met toevoegingen van 1 en 1 verwijderingen
  1. 1 1
      app/FreshRSS.php

+ 1 - 1
app/FreshRSS.php

@@ -47,6 +47,7 @@ class FreshRSS extends Minz_FrontController {
 		// Finish to initialize the other FreshRSS / Minz components.
 		// Finish to initialize the other FreshRSS / Minz components.
 		FreshRSS_Context::init();
 		FreshRSS_Context::init();
 		self::initI18n();
 		self::initI18n();
+		self::loadNotifications();
 		// Enable extensions for the current (logged) user.
 		// Enable extensions for the current (logged) user.
 		if (FreshRSS_Auth::hasAccess()) {
 		if (FreshRSS_Auth::hasAccess()) {
 			$ext_list = FreshRSS_Context::$user_conf->extensions_enabled;
 			$ext_list = FreshRSS_Context::$user_conf->extensions_enabled;
@@ -131,6 +132,5 @@ class FreshRSS extends Minz_FrontController {
 
 
 		FreshRSS_Share::load(join_path(DATA_PATH, 'shares.php'));
 		FreshRSS_Share::load(join_path(DATA_PATH, 'shares.php'));
 		self::loadStylesAndScripts();
 		self::loadStylesAndScripts();
-		self::loadNotifications();
 	}
 	}
 }
 }