From 78f2bc6c86a1e8269ef5653019f8491bd6eb07eb Mon Sep 17 00:00:00 2001 From: Louis Chemineau Date: Mon, 11 Dec 2023 18:05:03 +0100 Subject: [PATCH] Add missing arg in initMetadata call Signed-off-by: Louis Chemineau --- lib/AppInfo/Application.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/AppInfo/Application.php b/lib/AppInfo/Application.php index a9ddaae18..4bcae701c 100644 --- a/lib/AppInfo/Application.php +++ b/lib/AppInfo/Application.php @@ -111,6 +111,6 @@ public function register(IRegistrationContext $context): void { public function boot(IBootContext $context): void { /** @var IFilesMetadataManager $metadataManager */ $metadataManager = $context->getServerContainer()->get(IFilesMetadataManager::class); - $metadataManager->initMetadata('photos-original_date_time', IMetadataValueWrapper::TYPE_INT, true); + $metadataManager->initMetadata('photos-original_date_time', IMetadataValueWrapper::TYPE_INT, true, IMetadataValueWrapper::EDIT_FORBIDDEN); } }