From c8e5292ab7a4670ff67e587f18d7973eee2f00e6 Mon Sep 17 00:00:00 2001 From: Alexandre Alapetite Date: Mon, 24 Oct 2016 21:58:22 +0200 Subject: CLI minor formatting https://github.com/FreshRSS/FreshRSS/issues/1095 --- cli/create-user.php | 3 +-- cli/export-zip-for-user.php | 4 ++-- 2 files changed, 3 insertions(+), 4 deletions(-) (limited to 'cli') diff --git a/cli/create-user.php b/cli/create-user.php index c790acb59..008b82ce3 100755 --- a/cli/create-user.php +++ b/cli/create-user.php @@ -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!'); diff --git a/cli/export-zip-for-user.php b/cli/export-zip-for-user.php index 9183a1c14..92fe9bf9a 100755 --- a/cli/export-zip-for-user.php +++ b/cli/export-zip-for-user.php @@ -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!'); } -- cgit v1.2.3