mirror of
https://github.com/friendica/friendica
synced 2025-04-26 14:30:13 +00:00
Changes:
- added some type-hints - added some documentation - changed some double-quotes to single
This commit is contained in:
parent
a392a22eee
commit
e33f5612ab
4 changed files with 39 additions and 38 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue