summaryrefslogtreecommitdiff
path: root/cli/list-users.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 01:46:14 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-23 01:46:14 +0200
commit1b8eb6c7e732f1eda4fc8f22e847b363b016f857 (patch)
tree509c9024d8a31f70f1f76e6a9c93cad5b13a2713 /cli/list-users.php
parent5b1b43ab57da6a7bc1599c224d47455b2e56d53d (diff)
CLI import ZIP/OPML/JSON for user
https://github.com/FreshRSS/FreshRSS/issues/1095 https://github.com/FreshRSS/FreshRSS/issues/851
Diffstat (limited to 'cli/list-users.php')
-rwxr-xr-xcli/list-users.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/cli/list-users.php b/cli/list-users.php
index cc1cf5269..e690ff451 100755
--- a/cli/list-users.php
+++ b/cli/list-users.php
@@ -4,8 +4,8 @@ require('_cli.php');
$users = listUsers();
sort($users);
-if ($system_conf->default_user !== '') {
- array_unshift($users, $system_conf->default_user);
+if (FreshRSS_Context::$system_conf->default_user !== '') {
+ array_unshift($users, FreshRSS_Context::$system_conf->default_user);
$users = array_unique($users);
}