]> source.dussan.org Git - nextcloud-server.git/commitdiff
Return $schema on change and null otherwise 17740/head
authorDaniel Kesselberg <mail@danielkesselberg.de>
Tue, 29 Oct 2019 17:14:38 +0000 (18:14 +0100)
committerDaniel Kesselberg <mail@danielkesselberg.de>
Tue, 29 Oct 2019 18:25:34 +0000 (19:25 +0100)
Signed-off-by: Daniel Kesselberg <mail@danielkesselberg.de>
apps/dav/lib/Migration/Version1012Date20190808122342.php

index 4aa768e705d7c54e4b451407de5d6eb0f5a2e273..376d8472968a6f24956415f8fff44406a0370ad8 100644 (file)
@@ -38,7 +38,7 @@ class Version1012Date20190808122342 extends SimpleMigrationStep {
         * @param \Closure $schemaClosure The `\Closure` returns a `ISchemaWrapper`
         * @param array $options
         * @return null|ISchemaWrapper
-        * @since 13.0.0
+        * @since 17.0.0
         */
        public function changeSchema(IOutput $output,
                                                                 \Closure $schemaClosure,
@@ -112,5 +112,7 @@ class Version1012Date20190808122342 extends SimpleMigrationStep {
 
                        return $schema;
                }
+
+               return null;
        }
 }