Update version cache after successful file verification #4677
Labels
b:1.9
Branch: 1.9.x
s:feedback
Status: Feedback. Further information/input needed
t:enhancement
Type: Enhancement. Contains minor improvements
Modify the file verification features (run manually via the ACP or, in MyBB 1.9, during installation and upgrade) to update the datacache
version
entry after a successful check.Additionally, add a field to the array indicating the procedure that resulted in the latest change (installation/upgrade/verification).
Currently, the values in the
version
array are only updated during MyBB installation and upgrade, but not after applying MyBB updates that don't require running the upgrade script; while MyBB updates are distributed with a version bump inMyBB::$version
, the value may not represent the state correctly when upgrades are in progress.This modification will help:
mybb/inc/init.php
Lines 223 to 232 in f3e4d92
The text was updated successfully, but these errors were encountered: