Skip to content

Commit

Permalink
Add missing arg in initMetadata call
Browse files Browse the repository at this point in the history
Signed-off-by: Louis Chemineau <louis@chmn.me>
  • Loading branch information
artonge committed Dec 11, 2023
1 parent d90b9f3 commit 78f2bc6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/AppInfo/Application.php
Original file line number Diff line number Diff line change
Expand Up @@ -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);
}
}

0 comments on commit 78f2bc6

Please sign in to comment.