diff options
Diffstat (limited to 'cli/import-for-user.php')
| -rwxr-xr-x | cli/import-for-user.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/cli/import-for-user.php b/cli/import-for-user.php index 4c4db8405..17dc9750e 100755 --- a/cli/import-for-user.php +++ b/cli/import-for-user.php @@ -34,7 +34,7 @@ $importController = new FreshRSS_importExport_Controller(); $ok = false; try { $ok = $importController->importFile($filename, $filename, $username); -} catch (FreshRSS_ZipMissing_Exception $zme) { +} catch (FreshRSS_ZipMissing_Exception) { fail('FreshRSS error: Lacking php-zip extension!'); } catch (FreshRSS_Zip_Exception $ze) { fail('FreshRSS error: ZIP archive cannot be imported! Error code: ' . $ze->zipErrorCode()); |
