mark MOUNT_TYPE_PERSONAl as deprecated

Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
pull/39276/head
Maxence Lange 2023-07-10 19:08:30 +07:00 committed by John Molakvoæ
parent 1a5b545fe8
commit 2f41b9c092
2 changed files with 4 additions and 0 deletions

@ -41,6 +41,8 @@ use OCA\Files_External\ResponseDefinitions;
class StorageConfig implements \JsonSerializable {
public const MOUNT_TYPE_ADMIN = 1;
public const MOUNT_TYPE_PERSONAL = 2;
/** @deprecated use MOUNT_TYPE_PERSONAL (full uppercase) instead */
public const MOUNT_TYPE_PERSONAl = 2;
/**
* Storage config id

@ -38,6 +38,8 @@ use OCP\Security\ICrypto;
class DBConfigService {
public const MOUNT_TYPE_ADMIN = 1;
public const MOUNT_TYPE_PERSONAL = 2;
/** @deprecated use MOUNT_TYPE_PERSONAL (full uppercase) instead */
public const MOUNT_TYPE_PERSONAl = 2;
public const APPLICABLE_TYPE_GLOBAL = 1;
public const APPLICABLE_TYPE_GROUP = 2;