Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'lib/Migration/Version2001Date20180103144447.php')
-rw-r--r--lib/Migration/Version2001Date20180103144447.php3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/Migration/Version2001Date20180103144447.php b/lib/Migration/Version2001Date20180103144447.php
index 77ad48d39..0af9e898b 100644
--- a/lib/Migration/Version2001Date20180103144447.php
+++ b/lib/Migration/Version2001Date20180103144447.php
@@ -1,4 +1,5 @@
<?php
+
declare(strict_types=1);
/**
* @copyright Copyright (c) 2018 Joas Schilling <coding@schilljs.com>
@@ -116,7 +117,6 @@ class Version2001Date20180103144447 extends SimpleMigrationStep {
* @since 13.0.0
*/
public function postSchemaChange(IOutput $output, \Closure $schemaClosure, array $options): void {
-
if (version_compare($this->config->getAppValue('spreed', 'installed_version', '0.0.0'), '2.0.0', '<')) {
// Migrations only work after 2.0.0
return;
@@ -155,6 +155,5 @@ class Version2001Date20180103144447 extends SimpleMigrationStep {
->set('in_call', 'incall');
$update->execute();
}
-
}
}