- added some type-hints
- added some documentation
- changed some double-quotes to single
This commit is contained in:
Roland Häder 2022-06-27 12:09:31 +02:00
parent a392a22eee
commit e33f5612ab
No known key found for this signature in database
GPG key ID: C82EDE5DDFA0BA77
4 changed files with 39 additions and 38 deletions

View file

@ -73,7 +73,7 @@ class DBStructure
*/
public static function dropTables(bool $execute)
{
$postupdate = DI::config()->get("system", "post_update_version", PostUpdate::VERSION);
$postupdate = DI::config()->get('system', 'post_update_version', PostUpdate::VERSION);
if ($postupdate < PostUpdate::VERSION) {
echo DI::l10n()->t('The post update is at version %d, it has to be at %d to safely drop the tables.', $postupdate, PostUpdate::VERSION);
return;