Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'core/Updater.php')
-rw-r--r--core/Updater.php4
1 files changed, 2 insertions, 2 deletions
diff --git a/core/Updater.php b/core/Updater.php
index d1cac3c3f4..7f19a03ae3 100644
--- a/core/Updater.php
+++ b/core/Updater.php
@@ -200,7 +200,7 @@ class Updater
$classNames[] = $className;
- $queriesForComponent = call_user_func(array($className, 'getSql'), $this);
+ $queriesForComponent = call_user_func(array($className, 'getMigrationQueries'), $this);
foreach ($queriesForComponent as $query => $error) {
$queries[] = $query . ';';
}
@@ -249,7 +249,7 @@ class Updater
) {
$this->executeListenerHook('onComponentUpdateFileStarting', $componentName, $file, $className, $fileVersion);
- call_user_func(array($className, 'update'), $this);
+ call_user_func(array($className, 'doUpdate'), $this);
$this->executeListenerHook('onComponentUpdateFileFinished', $componentName, $file, $className, $fileVersion);