Fix reported version by setup_cmd, was reporting old phpgwapi instead of api version.

This commit is contained in:
Alexandros Sigalas 2019-09-17 23:03:22 +03:00 committed by Ralf Becker
parent 83e2d70222
commit 4c28657df5

View File

@ -314,7 +314,7 @@ abstract class setup_cmd extends admin_cmd
case 3: throw new Api\Exception\WrongUserinput(lang('Your database is working, but you dont have any applications installed')." ($db). ".lang("Use --install to install EGroupware."),13);
case 4: throw new Api\Exception\WrongUserinput(lang('EGroupware API needs a database (schema) update from version %1 to %2!',$setup_info['phpgwapi']['currentver'],$versions['phpgwapi']).' '.lang('Use --update to do so.'),14);
case 4: throw new Api\Exception\WrongUserinput(lang('EGroupware API needs a database (schema) update from version %1 to %2!',$setup_info['api']['currentver'],$versions['api']).' '.lang('Use --update to do so.'),14);
case 10: // also check apps of updates
self::$apps_to_upgrade = self::$apps_to_install = array();