diff --git a/src/applications/differential/storage/DifferentialChangeset.php b/src/applications/differential/storage/DifferentialChangeset.php index dfde4612ca..72b6912b9d 100644 --- a/src/applications/differential/storage/DifferentialChangeset.php +++ b/src/applications/differential/storage/DifferentialChangeset.php @@ -105,7 +105,14 @@ final class DifferentialChangeset extends DifferentialDAO { $hunk->delete(); } $this->_hunks = array(); - $ret = parent::delete(); + + queryfx( + $this->establishConnection('w'), + 'DELETE FROM %T WHERE id = %d', + self::TABLE_CACHE, + $this->getID()); + + $ret = parent::delete(); $this->saveTransaction(); return $ret; }