[evolvis-commits] r12309: Removed two unused functions

mirabilos at evolvis.org mirabilos at evolvis.org
Mon Feb 28 01:33:56 CET 2011


Author: mirabilos
Date: 2011-02-28 01:33:56 +0100 (Mon, 28 Feb 2011)
New Revision: 12309

Modified:
   trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
   trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Plugin.class.php
Log:
Removed two unused functions

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-28 00:33:54 UTC (rev 12308)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/ChangeLog	2011-02-28 00:33:56 UTC (rev 12309)
@@ -1,3 +1,7 @@
+2008-01-13  Roland Mas  <lolando at debian.org>
+
+	* common/include/Plugin.class.php: Removed two unused functions.
+
 2008-01-11  Roland Mas  <lolando at debian.org>
 
 	* www/export/*.php: The previous validation didn't work since

Modified: trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Plugin.class.php
===================================================================
--- trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Plugin.class.php	2011-02-28 00:33:54 UTC (rev 12308)
+++ trunk/gforge_base/evolvisforge-5.1/gforge/common/include/Plugin.class.php	2011-02-28 00:33:56 UTC (rev 12309)
@@ -79,29 +79,6 @@
 		return true ; 
 	}
 
-	/**
-	 * GetLanguagePath() - get the path where we can find i18n for the plugin
-	 *
-	 * @return string path
-	 */
-	function GetLanguagePath() {
-		if (file_exists($GLOBALS['sys_plugins_path'].'/'.$this->name.'/common/languages/')) {
-			return $GLOBALS['sys_plugins_path'].'/'.$this->name.'/common/languages/';
-		} else {
-			return $GLOBALS['sys_plugins_path'].'/'.$this->name.'/include/languages/';
-		}
-	}
-
-	/**
-	 * GetSpecificLanguagePath() - get the path where we can find installation specific language files
-	 *
-	 * @return string path
-	 */
-	function GetSpecificLanguagePath() {
-		global $sys_etc_path;
-
-		return $sys_etc_path.'/plugins/'.$this->name.'/languages/';
-	}
 }
 
 // Local Variables:



More information about the evolvis-commits mailing list