mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-26 08:42:41 +01:00
Fix write to undefined property $_hunks
Summary: Some time long in the past, this was renamed to unsavedHunks. Fixes T2249. Test Plan: Ran `destroy_revision.php D20`, got a successful destruction. Reviewers: btrahan, vrana Reviewed By: btrahan CC: aran Maniphest Tasks: T2249 Differential Revision: https://secure.phabricator.com/D4304
This commit is contained in:
parent
4f933d34f5
commit
cb228ed4e3
1 changed files with 1 additions and 1 deletions
|
@ -88,7 +88,7 @@ final class DifferentialChangeset extends DifferentialDAO {
|
||||||
foreach ($this->loadHunks() as $hunk) {
|
foreach ($this->loadHunks() as $hunk) {
|
||||||
$hunk->delete();
|
$hunk->delete();
|
||||||
}
|
}
|
||||||
$this->_hunks = array();
|
$this->unsavedHunks = array();
|
||||||
|
|
||||||
queryfx(
|
queryfx(
|
||||||
$this->establishConnection('w'),
|
$this->establishConnection('w'),
|
||||||
|
|
Loading…
Reference in a new issue