1
0
Fork 0
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:
epriestley 2012-12-30 13:44:48 -08:00
parent 4f933d34f5
commit cb228ed4e3

View file

@ -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'),