summaryrefslogtreecommitdiffstats
path: root/apps/files_external/lib/Config
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2020-07-09 23:39:58 +0200
committerMorris Jobke <hey@morrisjobke.de>2020-07-10 00:02:59 +0200
commit065ef14cb025f6664c7a3ed1aa89d333a2944342 (patch)
tree72cba2059ca302ffa3fdfa2a1e5a9ffc604285d0 /apps/files_external/lib/Config
parente18e4511d0988fd1133f0bfc553f38e5a29a4565 (diff)
downloadnextcloud-server-065ef14cb025f6664c7a3ed1aa89d333a2944342.tar.gz
nextcloud-server-065ef14cb025f6664c7a3ed1aa89d333a2944342.zip
Move OC_Mount_Config to proper classname and remove OC::$CLASSPATH usage in files_external
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_external/lib/Config')
-rw-r--r--apps/files_external/lib/Config/ConfigAdapter.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files_external/lib/Config/ConfigAdapter.php b/apps/files_external/lib/Config/ConfigAdapter.php
index fa33f3de793..24610ec4bf6 100644
--- a/apps/files_external/lib/Config/ConfigAdapter.php
+++ b/apps/files_external/lib/Config/ConfigAdapter.php
@@ -80,7 +80,7 @@ class ConfigAdapter implements IMountProvider {
*/
private function prepareStorageConfig(StorageConfig &$storage, IUser $user) {
foreach ($storage->getBackendOptions() as $option => $value) {
- $storage->setBackendOption($option, \OC_Mount_Config::substitutePlaceholdersInConfig($value, $user->getUID()));
+ $storage->setBackendOption($option, \OCA\Files_External\MountConfig::substitutePlaceholdersInConfig($value, $user->getUID()));
}
$objectStore = $storage->getBackendOption('objectstore');