Rename project list config getters/setters
Rename project list config getters/setters

--- a/include/controller/ControllerBase.class.php
+++ b/include/controller/ControllerBase.class.php
@@ -325,7 +325,7 @@
 			$cacheKeyPrefix = 'en_US';
 
 		if ($this->projectList) {
-			$cacheKeyPrefix .= '|' . sha1(serialize($this->projectList->GetConfig())) . '|' . sha1(serialize($this->projectList->GetSettings()));
+			$cacheKeyPrefix .= '|' . sha1(serialize($this->projectList->GetProjectListConfig())) . '|' . sha1(serialize($this->projectList->GetProjectSettings()));
 		}
 		if ($this->project && $projectKeys) {
 			$cacheKeyPrefix .= '|' . sha1($this->project);

--- a/include/git/projectlist/ProjectList.class.php
+++ b/include/git/projectlist/ProjectList.class.php
@@ -47,7 +47,7 @@
 		}
 
 		if (isset($git_projects_settings) && !$legacy)
-			$instance->SetSettings($git_projects_settings);
+			$instance->SetProjectSettings($git_projects_settings);
 
 		return $instance;
 	}

--- a/include/git/projectlist/ProjectListBase.class.php
+++ b/include/git/projectlist/ProjectListBase.class.php
@@ -295,7 +295,7 @@
 	 *
 	 * @return mixed project config
 	 */
-	public function GetConfig()
+	public function GetProjectListConfig()
 	{
 		return $this->projectConfig;
 	}
@@ -305,7 +305,7 @@
 	 *
 	 * @return array
 	 */
-	public function GetSettings()
+	public function GetProjectSettings()
 	{
 		return $this->projectSettings;
 	}
@@ -580,7 +580,7 @@
 	 *
 	 * @param array $settings the array of settings
 	 */
-	public function SetSettings($settings)
+	public function SetProjectSettings($settings)
 	{
 		if ((!$settings) || (count($settings) < 1))
 			return;

comments