Rename InstantiateProject to LoadProject
[gitphp.git] / include / git / projectlist / ProjectListDirectory.class.php
blob:a/include/git/projectlist/ProjectListDirectory.class.php -> blob:b/include/git/projectlist/ProjectListDirectory.class.php
--- a/include/git/projectlist/ProjectListDirectory.class.php
+++ b/include/git/projectlist/ProjectListDirectory.class.php
@@ -70,7 +70,7 @@
 						$this->Log(sprintf('Found project %1$s', $fullPath));
 						$projectPath = substr($fullPath, $trimlen);
 						if (!isset($this->projects[$projectPath])) {
-							$project = $this->InstantiateProject($projectPath);
+							$project = $this->LoadProject($projectPath);
 							if ($project) {
 								$this->projects[$projectPath] = $project;
 								unset($project);
@@ -88,12 +88,12 @@
 	}
 
 	/**
-	 * Instantiates project object
+	 * Loads a project
 	 *
 	 * @param string $proj project
 	 * @return GitPHP_Project project
 	 */
-	protected function InstantiateProject($proj)
+	protected function LoadProject($proj)
 	{
 		try {
 

comments