Skip to content

Commit a530f06

Browse files
authored
Merge pull request #1182 from nextcloud/bugfix/noid/sciencemesh-constant-25
fix: Avoid using constant that is not available on 25
2 parents 1f47967 + 41eadab commit a530f06

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/Service/NoteUtil.php

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -229,7 +229,8 @@ public function getShareTypes(File $file): array {
229229
IShare::TYPE_EMAIL,
230230
IShare::TYPE_ROOM,
231231
IShare::TYPE_DECK,
232-
IShare::TYPE_SCIENCEMESH,
232+
// FIXME: Move to constant once Nextcloud 26 is the minimum supported version
233+
15, // IShare::TYPE_SCIENCEMESH,
233234
];
234235
$shareTypes = [];
235236

0 commit comments

Comments
 (0)