[Fusionforge-commits] r17745 - trunk/src/www/include
Marc-Etienne VARGENAU
vargenau at fusionforge.org
Tue Aug 20 19:26:59 CEST 2013
Author: vargenau
Date: 2013-08-20 19:26:59 +0200 (Tue, 20 Aug 2013)
New Revision: 17745
Modified:
trunk/src/www/include/html.php
Log:
Remove unused global
Modified: trunk/src/www/include/html.php
===================================================================
--- trunk/src/www/include/html.php 2013-08-20 17:21:31 UTC (rev 17744)
+++ trunk/src/www/include/html.php 2013-08-20 17:26:59 UTC (rev 17745)
@@ -824,7 +824,7 @@
* @param array Must contain $user_id
*/
function site_header($params) {
- GLOBAL $HTML;
+ global $HTML;
/*
Check to see if active user
Check to see if logged in
@@ -849,7 +849,6 @@
* @param params array() must contain $toptab and $group
*/
function site_project_header($params) {
- global $HTML;
/*
Check to see if active
@@ -940,7 +939,7 @@
Check to see if logged in
*/
site_header($params);
- echo ($HTML->beginSubMenu());
+ echo $HTML->beginSubMenu();
$arr_t = array();
$arr_l = array();
$arr_attr = array();
@@ -978,7 +977,7 @@
echo $HTML->subMenuSeparator();
}
plugin_hook("usermenu", false);
- echo ($HTML->endSubMenu());
+ echo $HTML->endSubMenu();
}
/**
More information about the Fusionforge-commits
mailing list