Fixed upgrade check

This commit is contained in:
Timz99 2018-03-27 23:35:44 +02:00
parent 32e018b6bb
commit 95dbfdfe9a
No known key found for this signature in database
GPG Key ID: 4D8268DC68E8339D
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ class Installer {
// different DB version, check if the version requires any changes
// @todo this is currently a manual check for each version, similar to upgrade().. not a clean way
if(version_compare($version_db, '3.2.0', '<')) {
if(version_compare($version_db, PSM_VERSION, '<')) {
return true;
} else {
// change database version to current version so this check won't be required next time