fix getAppVersion error
This commit is contained in:
parent
ba5e60e2e4
commit
f241615693
|
@ -482,7 +482,7 @@ class OC_App{
|
||||||
if ($currentVersion) {
|
if ($currentVersion) {
|
||||||
if (version_compare($currentVersion, $installedVersion, '>')) {
|
if (version_compare($currentVersion, $installedVersion, '>')) {
|
||||||
OC_App::updateApp($app);
|
OC_App::updateApp($app);
|
||||||
OC_Appconfig::setValue($app,'installed_version',getAppVersion($app));
|
OC_Appconfig::setValue($app,'installed_version',OC_App::getAppVersion($app));
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue