Skip to content

Commit 41eadab

Browse files
committed
fix: Avoid using constant that is not available on 25
Signed-off-by: Julius Härtl <[email protected]>
1 parent 5d7fbf2 commit 41eadab

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)