From a1a4b3f9f01703ac1262bdafded11cd9a8ba445c Mon Sep 17 00:00:00 2001 From: Diego Najar Date: Fri, 2 Mar 2018 19:59:30 +0100 Subject: [PATCH] Minor changes --- install.php | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/install.php b/install.php index ed63c961..d7e564c8 100644 --- a/install.php +++ b/install.php @@ -223,7 +223,7 @@ function checkSystem() } // Installation function -function install($adminPassword, $email, $timezone) +function install($adminPassword, $email='', $timezone) { global $Language; @@ -425,7 +425,7 @@ function install($adminPassword, $email, $timezone) 'role'=>'admin', 'password'=>$passwordHash, 'salt'=>$salt, - 'email'=>$email, + 'email'=>'', 'registered'=>$currentDate, 'tokenRemember'=>'', 'tokenAuth'=>$tokenAuth, @@ -648,12 +648,6 @@ if( $_SERVER['REQUEST_METHOD'] == 'POST' ) { - -