ubc / iPeer

Peer Evaluation System
http://ipeer.ctlt.ubc.ca
Other
17 stars 18 forks source link

Upgrade functionality should clear the cache #577

Closed wynnset closed 6 years ago

wynnset commented 6 years ago

Whenever we change the DB version, the system shows a message alerting the user (admin only) to update the db. When this is done, the database is updated, but Cake cache is not. This causes issues because the model objects will now be inconsistent with the db schema. We need to make sure that when updating the DB, we also clear the Cake cache.

Affected Controller: upgrade_controller.php