mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-04 13:14:20 -04:00
Ne pas rafraîchir les flux des utilisateurs non logués depuis x jours
https://github.com/marienfressinaud/FreshRSS/issues/681 Warning: needs some testing
This commit is contained in:
@@ -95,9 +95,8 @@ class FreshRSS_user_Controller extends Minz_ActionController {
|
||||
Minz_View::prependTitle(_t('gen.title.user_management') . ' · ');
|
||||
|
||||
// Get the correct current user.
|
||||
$userDAO = new FreshRSS_UserDAO();
|
||||
$username = Minz_Request::param('u', Minz_Session::param('currentUser'));
|
||||
if (!$userDAO->exist($username)) {
|
||||
if (!FreshRSS_UserDAO::exist($username)) {
|
||||
$username = Minz_Session::param('currentUser');
|
||||
}
|
||||
$this->view->current_user = $username;
|
||||
|
||||
Reference in New Issue
Block a user