Inject dependent classes into project class
[gitphp.git] / include / git / projectlist / ProjectListArrayLegacy.class.php
blob:a/include/git/projectlist/ProjectListArrayLegacy.class.php -> blob:b/include/git/projectlist/ProjectListArrayLegacy.class.php
--- a/include/git/projectlist/ProjectListArrayLegacy.class.php
+++ b/include/git/projectlist/ProjectListArrayLegacy.class.php
@@ -80,8 +80,6 @@
 
 		$projectObj = new GitPHP_Project($this->projectRoot, $proj);
 
-		$this->InjectProjectDependencies($projectObj);
-
 		$this->ApplyGlobalConfig($projectObj);
 
 		$this->ApplyGitConfig($projectObj);
@@ -89,6 +87,8 @@
 		if ($projectCat != GitPHP_ProjectListArrayLegacy::NoCategory)
 			$projectObj->SetCategory($projectCat);
 
+		$this->InjectProjectDependencies($projectObj);
+
 		return $projectObj;
 	}
 

comments