summaryrefslogtreecommitdiffstats
path: root/apps/files_external/personal.php
diff options
context:
space:
mode:
authorRobin Appelman <icewind@owncloud.com>2014-08-14 14:24:10 +0200
committerRobin Appelman <icewind@owncloud.com>2014-08-31 10:45:10 +0200
commitecdbf006284fa4907b54f58ac6ba59f54b9738a5 (patch)
tree387c47f718d19d871a2430ac5bf272cd5f6ab755 /apps/files_external/personal.php
parent23137f4798cb89b188329050a85f2f3a706947c5 (diff)
downloadnextcloud-server-ecdbf006284fa4907b54f58ac6ba59f54b9738a5.tar.gz
nextcloud-server-ecdbf006284fa4907b54f58ac6ba59f54b9738a5.zip
Move certificate management code to core
Diffstat (limited to 'apps/files_external/personal.php')
-rwxr-xr-xapps/files_external/personal.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/files_external/personal.php b/apps/files_external/personal.php
index 90d7afed28b..9965303f21c 100755
--- a/apps/files_external/personal.php
+++ b/apps/files_external/personal.php
@@ -23,11 +23,12 @@
OCP\Util::addScript('files_external', 'settings');
OCP\Util::addStyle('files_external', 'settings');
$backends = OC_Mount_Config::getPersonalBackends();
+$certificateManager = \OC::$server->getCertificateManager();
$tmpl = new OCP\Template('files_external', 'settings');
$tmpl->assign('isAdminPage', false);
$tmpl->assign('mounts', OC_Mount_Config::getPersonalMountPoints());
-$tmpl->assign('certs', OC_Mount_Config::getCertificates());
+$tmpl->assign('certs', $certificateManager->listCertificates());
$tmpl->assign('dependencies', OC_Mount_Config::checkDependencies());
$tmpl->assign('backends', $backends);
return $tmpl->fetchPage();