Fixed upgrade check
parent
32e018b6bb
commit
95dbfdfe9a
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue