minor fixes in installation process

Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
Michael Kaufmann
2022-08-20 11:21:49 +02:00
parent 2c9b2c1d67
commit 07094f231a
3 changed files with 16 additions and 9 deletions

View File

@@ -52,7 +52,7 @@ class Core
* @return void
* @throws Exception
*/
public function doInstall()
public function doInstall(bool $create_ud_str = true)
{
$options = [
'PDO::MYSQL_ATTR_INIT_COMMAND' => 'SET names utf8'
@@ -116,7 +116,9 @@ class Core
$this->doDataEntries($pdo);
// create JSON array for config-services
$this->createJsonArray();
$this->createUserdataParamStr();
if ($create_ud_str) {
$this->createUserdataParamStr();
}
}
public function getUnprivilegedPdo(): PDO