mirror of
https://github.com/FreshRSS/FreshRSS.git
synced 2026-08-07 04:33:14 -04:00
1 parent
835f3d746c
commit
c8e5292ab7
2 files changed
+3
-4
No files matched your search
+1
-2
@@ -35,8 +35,7 @@ $ok = FreshRSS_user_Controller::createUser($username,
|
|||||||
'language' => empty($options['language']) ? '' : $options['language'],
|
'language' => empty($options['language']) ? '' : $options['language'],
|
||||||
'token' => empty($options['token']) ? '' : $options['token'],
|
'token' => empty($options['token']) ? '' : $options['token'],
|
||||||
),
|
),
|
||||||
!isset($options['no-default-feeds'])
|
!isset($options['no-default-feeds']));
|
||||||
);
|
|
||||||
|
|
||||||
if (!$ok) {
|
if (!$ok) {
|
||||||
fail('FreshRSS could not create user!');
|
fail('FreshRSS could not create user!');
|
||||||
|
|||||||
@@ -20,8 +20,8 @@ $importController = new FreshRSS_importExport_Controller();
|
|||||||
$ok = false;
|
$ok = false;
|
||||||
try {
|
try {
|
||||||
$ok = $importController->exportFile(true, true, true,
|
$ok = $importController->exportFile(true, true, true,
|
||||||
empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
|
empty($options['max-feed-entries']) ? 100 : intval($options['max-feed-entries']),
|
||||||
$username);
|
$username);
|
||||||
} catch (FreshRSS_ZipMissing_Exception $zme) {
|
} catch (FreshRSS_ZipMissing_Exception $zme) {
|
||||||
fail('FreshRSS error: Lacking php-zip extension!');
|
fail('FreshRSS error: Lacking php-zip extension!');
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user