mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-25 08:12:40 +01:00
Make "purge_cache.php --differential" also purge the inline comment cache
Summary: We purge the cache for primary comments only right now, not inline comments. Test Plan: Ran "purge_cache.php --differential". Reviewers: btrahan, jungejason Reviewed By: btrahan CC: aran Maniphest Tasks: T683 Differential Revision: https://secure.phabricator.com/D1451
This commit is contained in:
parent
14d16eab17
commit
0402e4e06e
1 changed files with 6 additions and 0 deletions
|
@ -88,6 +88,12 @@ if ($purge_changesets) {
|
|||
if ($purge_differential) {
|
||||
echo "Purging Differential comment cache...\n";
|
||||
$table = new DifferentialComment();
|
||||
queryfx(
|
||||
$table->establishConnection('w'),
|
||||
'UPDATE %T SET cache = NULL',
|
||||
$table->getTableName());
|
||||
echo "Purging Differential inline comment cache...\n";
|
||||
$table = new DifferentialInlineComment();
|
||||
queryfx(
|
||||
$table->establishConnection('w'),
|
||||
'UPDATE %T SET cache = NULL',
|
||||
|
|
Loading…
Reference in a new issue