Skip to content

Commit

Permalink
psalm: remove unused vars (#4615)
Browse files Browse the repository at this point in the history
  • Loading branch information
gharlan committed Apr 5, 2021
1 parent 038ae44 commit 001b0e3
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 6 deletions.
2 changes: 1 addition & 1 deletion redaxo/src/addons/backup/lib/backup.php
Original file line number Diff line number Diff line change
Expand Up @@ -243,7 +243,7 @@ public static function importFiles($filename)
$msg = rex_i18n::msg('backup_file_imported') . '<br />';

// ----- EXTENSION POINT
$tar = rex_extension::registerPoint(new rex_extension_point('BACKUP_AFTER_FILE_IMPORT', $tar));
rex_extension::registerPoint(new rex_extension_point('BACKUP_AFTER_FILE_IMPORT', $tar));

// require import skript to do some userside-magic
self::importScript(str_replace('.tar.gz', '.php', $filename), self::IMPORT_ARCHIVE, self::IMPORT_EVENT_POST);
Expand Down
1 change: 0 additions & 1 deletion redaxo/src/addons/backup/pages/export.php
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
$error = '';

// ------------------------------ Requestvars
$function = rex_request('function', 'string');
$exportfilename = rex_post('exportfilename', 'string');
$exporttype = rex_post('exporttype', 'string');
$exportdl = rex_post('exportdl', 'boolean');
Expand Down
3 changes: 0 additions & 3 deletions redaxo/src/addons/backup/pages/import.server.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,6 @@
// ------------------------------ Requestvars
$function = rex_request('function', 'string');
$impname = rex_request('impname', 'string');
$exporttype = rex_post('exporttype', 'string');
$exportdl = rex_post('exportdl', 'boolean');
$EXPDIR = rex_post('EXPDIR', 'array');

@set_time_limit(0);

Expand Down
1 change: 0 additions & 1 deletion redaxo/src/addons/backup/pages/import.upload.php
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,6 @@
// ------------------------------ Requestvars
$function = rex_request('function', 'string');
$impname = rex_request('impname', 'string');
$exporttype = rex_post('exporttype', 'string');
$exportdl = rex_post('exportdl', 'boolean');
$EXPDIR = rex_post('EXPDIR', 'array');

Expand Down

0 comments on commit 001b0e3

Please sign in to comment.