Reduce the parameter chaos by splitting the update function
This commit is contained in:
@@ -192,7 +192,7 @@ class Installer
|
||||
*/
|
||||
public function installDatabase($basePath)
|
||||
{
|
||||
$result = DBStructure::update($basePath, false, true, true);
|
||||
$result = DBStructure::install($basePath);
|
||||
|
||||
if ($result) {
|
||||
$txt = DI::l10n()->t('You may need to import the file "database.sql" manually using phpmyadmin or mysql.') . EOL;
|
||||
|
||||
@@ -166,7 +166,7 @@ class Update
|
||||
|
||||
// update the structure in one call
|
||||
Logger::notice('Execute structure update');
|
||||
$retval = DBStructure::update($basePath, $verbose, true);
|
||||
$retval = DBStructure::performUpdate(false, $verbose);
|
||||
if (!empty($retval)) {
|
||||
if ($sendMail) {
|
||||
self::updateFailed(
|
||||
|
||||
Reference in New Issue
Block a user