aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib
diff options
context:
space:
mode:
authorMaxence Lange <maxence@artificial-owl.com>2023-07-10 19:08:30 -0100
committerJohn Molakvoæ <skjnldsv@users.noreply.github.com>2024-02-24 11:33:44 +0100
commit2f41b9c09261e421967f65518bc1ec063efe92c3 (patch)
treec6a9f944863f4fd388cc914cd2f3fa17c1975362 /apps/files_external/lib
parent1a5b545fe82ff4d21aac57762ae4a2a3082a0b11 (diff)
downloadnextcloud-server-2f41b9c09261e421967f65518bc1ec063efe92c3.tar.gz
nextcloud-server-2f41b9c09261e421967f65518bc1ec063efe92c3.zip
mark MOUNT_TYPE_PERSONAl as deprecated
Signed-off-by: Maxence Lange <maxence@artificial-owl.com>
Diffstat (limited to 'apps/files_external/lib')
-rw-r--r--apps/files_external/lib/Lib/StorageConfig.php2
-rw-r--r--apps/files_external/lib/Service/DBConfigService.php2
2 files changed, 4 insertions, 0 deletions
diff --git a/apps/files_external/lib/Lib/StorageConfig.php b/apps/files_external/lib/Lib/StorageConfig.php
index fd7f8238200..2d7d0687635 100644
--- a/apps/files_external/lib/Lib/StorageConfig.php
+++ b/apps/files_external/lib/Lib/StorageConfig.php
@@ -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
diff --git a/apps/files_external/lib/Service/DBConfigService.php b/apps/files_external/lib/Service/DBConfigService.php
index 8765dd43962..0488ddad548 100644
--- a/apps/files_external/lib/Service/DBConfigService.php
+++ b/apps/files_external/lib/Service/DBConfigService.php
@@ -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;