Skip to content

Commit

Permalink
pkp/pkp-lib#8845 Fixed warning at migration
Browse files Browse the repository at this point in the history
  • Loading branch information
jonasraoni committed Mar 25, 2023
1 parent eb4e8e0 commit 36f0c15
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion classes/migration/upgrade/v3_4_0/I6759_RenameVariables.php
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ private function _renameFolders()

// Rename journals folder to contexts folder in public
$publicFilesDir = Config::getVar('files', 'public_files_dir');
if (is_dir($publicFilesDir)) {
if (is_dir($publicFilesDir . '/journals/')) {
rename($publicFilesDir . '/journals/', $publicFilesDir . '/contexts/');
}
}
Expand Down

0 comments on commit 36f0c15

Please sign in to comment.