1
0
Fork 0
mirror of https://we.phorge.it/source/phorge.git synced 2025-01-22 04:31:13 +01:00
Summary:

Test Plan:

Reviewers:

CC:
This commit is contained in:
vrana 2012-05-02 17:18:42 -07:00
parent 6039ca6fb5
commit fd3d510dc8

View file

@ -86,7 +86,11 @@ final class DifferentialDiff extends DifferentialDAO {
} }
public function getBackingVersionControlSystem() { public function getBackingVersionControlSystem() {
$repository = $this->loadArcanistProject()->loadRepository(); $arcanist_project = $this->loadArcanistProject();
if (!$arcanist_project) {
return null;
}
$repository = $arcanist_project->loadRepository();
return $repository->getVersionControlSystem(); return $repository->getVersionControlSystem();
} }