diff options
author | Luc SANCHEZ <4697568+ColonelMoutarde@users.noreply.github.com> | 2023-03-26 14:17:22 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-03-26 14:17:22 +0200 |
commit | 5f898dcc5ee244e4adbd6aa83b607c844d432fb6 (patch) | |
tree | 3511bcb3f78d053f4488e70000ab55fee7bb688a /cli | |
parent | df24fa2207f56909084c613495b6f235b351c640 (diff) | |
download | freshrss-5f898dcc5ee244e4adbd6aa83b607c844d432fb6.tar.gz freshrss-5f898dcc5ee244e4adbd6aa83b607c844d432fb6.zip |
Modernize Constants and use new constant for string 'currentUser' (#5089)
* Modernize Constants and use new constant 'currentUser'
* Add FreshRSS_Context::currentUser() function and use
* Add FreshRSS_Context::currentUser() function and use
* Add FreshRSS_Context::currentUser() function and use
* Add FreshRSS_Context::currentUser() function and use
* Add FreshRSS_Context::currentUser() function and use
* Update app/Controllers/userController.php
* Update app/Controllers/userController.php
* Update app/Controllers/userController.php
* Update app/Models/Auth.php
* Update p/api/greader.php
* Update p/api/greader.php
* Update p/api/greader.php
* Update app/Models/Context.php
* Update app/Models/LogDAO.php
* Update lib/Minz/Log.php
* Update p/api/greader.php
* Update app/layout/header.phtml
* Update app/views/helpers/export/articles.phtml
* Update cli/do-install.php
* Remarque's from Alkarex
* Remarque's from Alkarex
* Refactor using new Minz_User class
* Consistent naming of public constants
---------
Co-authored-by: Luc <sanchezluc+freshrss@gmail.com>
Co-authored-by: Alexandre Alapetite <alexandre@alapetite.fr>
Diffstat (limited to 'cli')
-rwxr-xr-x | cli/do-install.php | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/cli/do-install.php b/cli/do-install.php index c5258d1e0..1b167dfa9 100755 --- a/cli/do-install.php +++ b/cli/do-install.php @@ -95,8 +95,7 @@ if (function_exists('opcache_reset')) { } FreshRSS_Context::initSystem(true); - -Minz_Session::_param('currentUser', '_'); //Default user +Minz_User::change(Minz_User::INTERNAL_USER); $ok = false; try { |