diff options
author | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-12 09:21:09 +0100 |
---|---|---|
committer | Robin McCorkell <rmccorkell@owncloud.com> | 2015-08-19 10:08:14 +0100 |
commit | 97dbc79c16ba9d4d6c361d6f397908ef7893954d (patch) | |
tree | 50f5c1bff61dd5985158f9ffcbba81b85e669605 /settings/personal.php | |
parent | c572631087e2b56aa48c87ac753447e709248234 (diff) | |
download | nextcloud-server-97dbc79c16ba9d4d6c361d6f397908ef7893954d.tar.gz nextcloud-server-97dbc79c16ba9d4d6c361d6f397908ef7893954d.zip |
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.php | 5 |
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; } |