HomePhabricator

installer: Clear module_deps cache in updater

Authored by Krinkle.

Description

installer: Clear module_deps cache in updater

Unless --nopurge is set in update.php, clear module_deps cache
tables.

We already clear the objectcache via purgeCache(), and
msg_resource and msg_resource_links via MessageBlobStore::clear().

The module_deps table should be included as well.

Bug: T37472
Change-Id: I7cb63bb39a62b7f5be3855d022a8c76e175e95b5
(cherry picked from commit fad5b2381663658d02e13ddda6a96898cafbcf78)