diff options
| author | 2022-06-19 20:08:42 +0200 | |
|---|---|---|
| committer | 2022-06-19 20:08:42 +0200 | |
| commit | f365a9aeb44c33a1c817ae19a6027aa0fbffd706 (patch) | |
| tree | 6f93f55d5c71eda6672168a7f1250ad1d784c5ef /p/api | |
| parent | 238e55b2fd7f08b5ce866b712c43c1a8fa03a657 (diff) | |
Update all test dependencies (#4419)
* Update all test dependencies
* Remove old false-positive
* Minor update lock files
* Increase PHPStan memory for Fedora
https://github.com/FreshRSS/FreshRSS/pull/4400#issuecomment-1159514197
* Require PHP8+ for tests
Due to small changes of signature in `ob_implicit_flush` and `simplexml_load_string`, cf. https://github.com/FreshRSS/FreshRSS/pull/4123
* Missing lint in CSS files
Diffstat (limited to 'p/api')
| -rw-r--r-- | p/api/fever.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/p/api/fever.php b/p/api/fever.php index 1dcb7220e..d7d4ca603 100644 --- a/p/api/fever.php +++ b/p/api/fever.php @@ -155,7 +155,7 @@ class FeverAPI $username = @file_get_contents(DATA_PATH . '/fever/.key-' . sha1(FreshRSS_Context::$system_conf->salt) . '-' . $feverKey . '.txt', false); if ($username != false) { $username = trim($username); - FreshRSS_Context::initUser($username); + FreshRSS_Context::$user_conf = FreshRSS_Context::initUser($username); // Assignment to help PHPStan if (FreshRSS_Context::$user_conf != null && $feverKey === FreshRSS_Context::$user_conf->feverKey && FreshRSS_Context::$user_conf->enabled) { Minz_Translate::init(FreshRSS_Context::$user_conf->language); $this->entryDAO = FreshRSS_Factory::createEntryDao(); |
