Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin McCorkell <rmccorkell@owncloud.com>2015-08-12 11:21:09 +0300
committerRobin McCorkell <rmccorkell@owncloud.com>2015-08-19 12:08:14 +0300
commit97dbc79c16ba9d4d6c361d6f397908ef7893954d (patch)
tree50f5c1bff61dd5985158f9ffcbba81b85e669605 /settings/personal.php
parentc572631087e2b56aa48c87ac753447e709248234 (diff)
Compatibility shims for OC_Mount_Config
The following functions have been removed: - addMountPoint() - removeMountPoint() - movePersonalMountPoint() registerBackend() has been rewritten as a shim around BackendService, allowing legacy code to interact with the new API seamlessly addMountPoint() was already disconnected from all production code, so this commit completes the job and removes the function itself, along with disconnecting and removing related functions. Unit tests have likewise been removed. getAbsoluteMountPoints(), getSystemMountPoints() and getPersonalMountPoints() have been rewritten to use the StoragesServices
Diffstat (limited to 'settings/personal.php')
-rw-r--r--settings/personal.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/settings/personal.php b/settings/personal.php
index 203c9f68af8..bbbba3b5b8d 100644
--- a/settings/personal.php
+++ b/settings/personal.php
@@ -108,10 +108,7 @@ $clients = array(
$enableCertImport = false;
$externalStorageEnabled = \OC::$server->getAppManager()->isEnabledForUser('files_external');
if ($externalStorageEnabled) {
- $backends = OC_Mount_Config::getPersonalBackends();
- if (!empty($backends)) {
- $enableCertImport = true;
- }
+ $enableCertImport = true;
}