-
Notifications
You must be signed in to change notification settings - Fork 241
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Implemented EZP-20787: fiximagesoutsidevardir improvements #623
Conversation
If the var folder was renamed after the setting was changed, the database contains references to imates in the old path. The update script is now able to detect this, and will update the database references without trying to move the files.
} | ||
else | ||
{ | ||
$moveFiles = true; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
s/moveFiles/moveFile/ ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Good point. I can actually completely remove this block.
Apart remark from @patrickallaert, +1 |
Other than my remark: +1 |
+1 for >=5.1 with fix for issue pointed out by @patrickallaert |
Alright, enough +1, merging (Patrick's remark fixed in 6326e45). |
Manually merged in c684e25 |
…jax call to update all the priorities
See https://jira.ez.no/browse/EZP-20787.
Makes the update script support the use-case where both the setting AND the vardir were changed, but existing images references haven't been updated.