There was a bug that install process would error out when trying to
install default data twice. Moved the data initialization from BasicStor into the install.php file since nothing else was using it.
This commit is contained in:
parent
321c698c40
commit
0f6b98ce14
4 changed files with 45 additions and 195 deletions
|
@ -196,7 +196,7 @@ foreach ($subjects as $login => $subj) {
|
|||
if (VERBOSE) {
|
||||
echo " adding user $login ...\n";
|
||||
}
|
||||
$uid = $bs->addSubj($login, $subj['pass'], $subj['realname'], TRUE);
|
||||
$uid = BasicStor::addSubj($login, $subj['pass'], $subj['realname'], TRUE);
|
||||
ls_restore_checkErr($uid, __LINE__);
|
||||
}
|
||||
break;
|
||||
|
@ -212,7 +212,7 @@ foreach ($subjects as $login => $subj) {
|
|||
if (VERBOSE) {
|
||||
echo " adding group $login ...\n";
|
||||
}
|
||||
$uid = $bs->addSubj($login, NULL);
|
||||
$uid = BasicStor::addSubj($login, NULL);
|
||||
ls_restore_checkErr($uid, __LINE__);
|
||||
// var_export($uid); echo " ";
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue