Skip to content

Commit f264c4f

Browse files
committed
mark MOUNT_TYPE_PERSONAl as deprecated
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
1 parent 1075d89 commit f264c4f

File tree

2 files changed

+4
-0
lines changed

2 files changed

+4
-0
lines changed

apps/files_external/lib/Lib/StorageConfig.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
class StorageConfig implements \JsonSerializable {
3939
public const MOUNT_TYPE_ADMIN = 1;
4040
public const MOUNT_TYPE_PERSONAL = 2;
41+
/** @deprecated use MOUNT_TYPE_PERSONAL (full uppercase) instead */
42+
public const MOUNT_TYPE_PERSONAl = 2;
4143

4244
/**
4345
* Storage config id

apps/files_external/lib/Service/DBConfigService.php

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -38,6 +38,8 @@
3838
class DBConfigService {
3939
public const MOUNT_TYPE_ADMIN = 1;
4040
public const MOUNT_TYPE_PERSONAL = 2;
41+
/** @deprecated use MOUNT_TYPE_PERSONAL (full uppercase) instead */
42+
public const MOUNT_TYPE_PERSONAl = 2;
4143

4244
public const APPLICABLE_TYPE_GLOBAL = 1;
4345
public const APPLICABLE_TYPE_GROUP = 2;

0 commit comments

Comments
 (0)