Skip to content

Commit

Permalink
Merge pull request #1182 from nextcloud/bugfix/noid/sciencemesh-const…
Browse files Browse the repository at this point in the history
…ant-25

fix: Avoid using constant that is not available on 25
  • Loading branch information
juliushaertl committed Dec 15, 2023
2 parents 1f47967 + 41eadab commit a530f06
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion lib/Service/NoteUtil.php
Expand Up @@ -229,7 +229,8 @@ public function getShareTypes(File $file): array {
IShare::TYPE_EMAIL,
IShare::TYPE_ROOM,
IShare::TYPE_DECK,
IShare::TYPE_SCIENCEMESH,
// FIXME: Move to constant once Nextcloud 26 is the minimum supported version
15, // IShare::TYPE_SCIENCEMESH,
];
$shareTypes = [];

Expand Down

0 comments on commit a530f06

Please sign in to comment.