mirror of
https://we.phorge.it/source/phorge.git
synced 2024-11-22 14:52:41 +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:
parent
29730ca142
commit
406833ba90
1 changed files with 2 additions and 1 deletions
|
@ -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:
|
||||
|
|
Loading…
Reference in a new issue