aboutsummaryrefslogtreecommitdiff
path: root/app/Controllers/userController.php
diff options
context:
space:
mode:
authorGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-24 20:29:08 +0200
committerGravatar Alexandre Alapetite <alexandre@alapetite.fr> 2016-10-24 20:29:08 +0200
commit1182129ce5f07892afed190ffbb2ea4c7fc28967 (patch)
tree969df97e334667b9e76d9b0a387486959b1da700 /app/Controllers/userController.php
parent879af85d3ce1223cc5642e9beb6ec05d1097e43a (diff)
CLI option no-default-feeds
https://github.com/FreshRSS/FreshRSS/issues/1095
Diffstat (limited to 'app/Controllers/userController.php')
-rw-r--r--app/Controllers/userController.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/app/Controllers/userController.php b/app/Controllers/userController.php
index 9dee16e8c..9d6ae18e6 100644
--- a/app/Controllers/userController.php
+++ b/app/Controllers/userController.php
@@ -99,7 +99,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
$this->view->size_user = $entryDAO->size();
}
- public static function createUser($new_user_name, $passwordPlain, $apiPasswordPlain, $userConfig = array()) {
+ public static function createUser($new_user_name, $passwordPlain, $apiPasswordPlain, $userConfig = array(), $insertDefaultFeeds = true) {
if (!is_array($userConfig)) {
$userConfig = array();
}
@@ -138,7 +138,7 @@ class FreshRSS_user_Controller extends Minz_ActionController {
}
if ($ok) {
$userDAO = new FreshRSS_UserDAO();
- $ok &= $userDAO->createUser($new_user_name, $userConfig['language']);
+ $ok &= $userDAO->createUser($new_user_name, $userConfig['language'], $insertDefaultFeeds);
}
return $ok;
}