summaryrefslogtreecommitdiff
path: root/update_daemon2.php
diff options
context:
space:
mode:
authorAndrew Dolgov <[email protected]>2021-03-02 15:03:01 +0300
committerAndrew Dolgov <[email protected]>2021-03-02 15:03:01 +0300
commitd6629ed18863f797d34ebdc65815d7af21cb8332 (patch)
treea72a114c576f2aa15710d18a8090a9bced9c56ba /update_daemon2.php
parent86b12fc06c33fe742ac4035a031716674bdb6462 (diff)
move dbupdater to db/updater; move base SCHEMA_VERSION constant inside db/updater class
Diffstat (limited to 'update_daemon2.php')
-rwxr-xr-xupdate_daemon2.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_daemon2.php b/update_daemon2.php
index 8168c576e..17bca48ee 100755
--- a/update_daemon2.php
+++ b/update_daemon2.php
@@ -189,7 +189,7 @@
"Maybe another daemon is already running.\n");
}
- if (get_schema_version() != SCHEMA_VERSION) {
+ if (Db_Updater::is_update_required()) {
die("Schema version is wrong, please upgrade the database.\n");
}