1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2024-11-22 23:02:42 +01:00

Minor, fix a variable name after recent refactoring.

Test plan: Observed no fatal when viewing a diff which removes an image.

Auditors: btrahan
This commit is contained in:
epriestley 2012-12-13 09:48:28 -08:00
parent 29730ca142
commit 406833ba90

View file

@ -1082,7 +1082,7 @@ final class DifferentialChangesetParser {
switch ($this->changeset->getFileType()) {
case DifferentialChangeType::FILE_IMAGE:
$old = null;
$cur = null;
$new = null;
// TODO: Improve the architectural issue as discussed in D955
// https://secure.phabricator.com/D955
$reference = $this->getRenderingReference();
@ -1136,6 +1136,7 @@ final class DifferentialChangesetParser {
}
}
}
return $renderer->renderFileChange($old, $new, $id, $vs);
case DifferentialChangeType::FILE_DIRECTORY:
case DifferentialChangeType::FILE_BINARY: