diff --git a/lib/Constants.php b/lib/Constants.php index 581934644..df7b49ffe 100644 --- a/lib/Constants.php +++ b/lib/Constants.php @@ -68,6 +68,8 @@ class Constants { public const FORM_ACCESS_NOPUBLICSHARE = 0; public const FORM_ACCESS_PERMITALLUSERS = 1; public const FORM_ACCESS_SHOWTOALLUSERS = 2; + // still needed for Migrations + public const FORM_ACCESS_LEGACYLINK = 3; public const FORM_ACCESS_ARRAY_PERMIT = [ self::FORM_ACCESS_PERMITALLUSERS, ]; diff --git a/lib/Migration/Version050000Date20241005173955.php b/lib/Migration/Version050000Date20241005173955.php index f842f8dd0..ab55520e8 100644 --- a/lib/Migration/Version050000Date20241005173955.php +++ b/lib/Migration/Version050000Date20241005173955.php @@ -11,6 +11,7 @@ use Closure; use OCP\DB\ISchemaWrapper; +use OCP\IDBConnection; use OCP\Migration\IOutput; use OCP\Migration\SimpleMigrationStep;