Commit e8916e4f authored by Celine Noirot's avatar Celine Noirot
Browse files

Delete useless hidden variable

parent 58da589f
...@@ -128,7 +128,6 @@ class tx_nG6_pi1 extends tslib_pibase { ...@@ -128,7 +128,6 @@ class tx_nG6_pi1 extends tslib_pibase {
*/ */
function pi_project_view() { function pi_project_view() {
$projects = array(); $projects = array();
if (!$GLOBALS['TSFE']->loginUser) { $user_id = null; } if (!$GLOBALS['TSFE']->loginUser) { $user_id = null; }
else { $user_id = $GLOBALS['TSFE']->fe_user->user['uid']; } else { $user_id = $GLOBALS['TSFE']->fe_user->user['uid']; }
...@@ -362,7 +361,6 @@ class tx_nG6_pi1 extends tslib_pibase { ...@@ -362,7 +361,6 @@ class tx_nG6_pi1 extends tslib_pibase {
$smarty->assign('server_name', $this->conf["server_name"]); $smarty->assign('server_name', $this->conf["server_name"]);
$smarty->assign('server_url', $this->conf['server_url']); $smarty->assign('server_url', $this->conf['server_url']);
$smarty->assign('pid', $this->conf['userpidList']); $smarty->assign('pid', $this->conf['userpidList']);
$smarty->assign('current_id', intval($GLOBALS['TSFE']->id));
return $smarty->fetch('install_view.tpl'); return $smarty->fetch('install_view.tpl');
} }
/** /**
......
...@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>. ...@@ -27,7 +27,6 @@ along with this program. If not, see <http://www.gnu.org/licenses/>.
<input type="hidden" id="server_name" value="{$server_name}" /> <input type="hidden" id="server_name" value="{$server_name}" />
<input type="hidden" id="server_url" value="{$server_url}" /> <input type="hidden" id="server_url" value="{$server_url}" />
<input type="hidden" id="pid" value="{$pid}" /> <input type="hidden" id="pid" value="{$pid}" />
<input type="hidden" id="id" value="{$current_id}" />
<div class="control-group"> <div class="control-group">
<label class="control-label">Last name</label> <label class="control-label">Last name</label>
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment