mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-05-04 21:24:37 -04:00
@@ -35,8 +35,7 @@ $ok = FreshRSS_user_Controller::createUser($username,
|
||||
'language' => empty($options['language']) ? '' : $options['language'],
|
||||
'token' => empty($options['token']) ? '' : $options['token'],
|
||||
),
|
||||
!isset($options['no-default-feeds'])
|
||||
);
|
||||
!isset($options['no-default-feeds']));
|
||||
|
||||
if (!$ok) {
|
||||
fail('FreshRSS could not create user!');
|
||||
|
||||
@@ -20,8 +20,8 @@ $importController = new FreshRSS_importExport_Controller();
|
||||
$ok = false;
|
||||
try {
|
||||
$ok = $importController->exportFile(true, true, true,
|
||||
empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
|
||||
$username);
|
||||
empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
|
||||
$username);
|
||||
} catch (FreshRSS_ZipMissing_Exception $zme) {
|
||||
fail('FreshRSS error: Lacking php-zip extension!');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user