[Fusionforge-commits] r12030 - trunk/src/common/include

Franck VILLAUME nerville at libremir.placard.fr.eu.org
Wed Jan 19 11:30:55 CET 2011


Author: nerville
Date: 2011-01-19 11:30:55 +0100 (Wed, 19 Jan 2011)
New Revision: 12030

Modified:
   trunk/src/common/include/PluginManager.class.php
Log:
cleanup

Modified: trunk/src/common/include/PluginManager.class.php
===================================================================
--- trunk/src/common/include/PluginManager.class.php	2011-01-19 10:27:56 UTC (rev 12029)
+++ trunk/src/common/include/PluginManager.class.php	2011-01-19 10:30:55 UTC (rev 12030)
@@ -99,7 +99,7 @@
 		}
 		return false ;
 	}
-	function isPluginAvailable ($plugin) {
+	function isPluginAvailable($plugin) {
 		$pluginname = $plugin->GetName();
 		$plugins_data = $this->getPlugins();
 		foreach ($plugins_data as $p_id => $p_name) {
@@ -306,7 +306,7 @@
  *
  * @param pluginobject - an object of a subclass of the Plugin class
  */
-function register_plugin (&$pluginobject) {
+function register_plugin(&$pluginobject) {
 	$pm =& plugin_manager_get_object () ;
 	return $pm->RegisterPlugin ($pluginobject) ;
 }
@@ -317,9 +317,9 @@
  * @param hookname - name of the hook
  * @param params - parameters for the hook
  */
-function plugin_hook ($hookname, $params = false) {
+function plugin_hook($hookname, $params = false) {
 	$pm =& plugin_manager_get_object () ;
-	return $pm->RunHooks ($hookname, $params) ;
+	return $pm->RunHooks($hookname, $params) ;
 }
 
 /**




More information about the Fusionforge-commits mailing list