[Fusionforge-commits] r15812 - in branches/Branch_5_2: . src/plugins/mediawiki/include

Roland Mas lolando at fusionforge.org
Tue Jun 19 16:49:29 CEST 2012


Author: lolando
Date: 2012-06-19 16:49:28 +0200 (Tue, 19 Jun 2012)
New Revision: 15812

Modified:
   branches/Branch_5_2/
   branches/Branch_5_2/src/plugins/mediawiki/include/mediawikiPlugin.class.php
Log:
Removed useless site_admin_option_hook from Mediawiki plugin [#451]

Modified: branches/Branch_5_2/src/plugins/mediawiki/include/mediawikiPlugin.class.php
===================================================================
--- branches/Branch_5_2/src/plugins/mediawiki/include/mediawikiPlugin.class.php	2012-06-19 12:30:52 UTC (rev 15811)
+++ branches/Branch_5_2/src/plugins/mediawiki/include/mediawikiPlugin.class.php	2012-06-19 14:49:28 UTC (rev 15812)
@@ -52,7 +52,6 @@
 		$this->_addHook("list_roles_by_permission");
 		$this->_addHook("project_admin_plugins"); // to show up in the admin page for group
 		$this->_addHook("clone_project_from_template") ;
-		$this->_addHook("site_admin_option_hook");
 		$this->_addHook('group_delete');
 	}
 
@@ -371,8 +370,6 @@
 					}
 				}
 			}
-		} elseif ($hookname == "site_admin_option_hook") {
-			echo '<li><a href="'.$this->getPluginPath().'/">' . _('Mediawiki plugin') . '</a></li>';
 		} elseif ($hookname == 'group_delete') {
 			$projectId = $params['group_id'];
 			$projectObject = group_get_object($projectId);




More information about the Fusionforge-commits mailing list