summaryrefslogtreecommitdiffstats
path: root/apps/federatedfilesharing
diff options
context:
space:
mode:
authorLukas Reschke <lukas@statuscode.ch>2017-04-11 14:39:46 +0200
committerGitHub <noreply@github.com>2017-04-11 14:39:46 +0200
commitafb5d45705f7d7743b9dfd2d79b618938cb05b77 (patch)
treea0828097cae435e504350d6aae0bbca56f40435c /apps/federatedfilesharing
parent5ca5ebe584999d6dbc4b363bb285c8ae00c1b5f2 (diff)
parentd83c8e02718f5ae555e75d8582904611a4d6766a (diff)
downloadnextcloud-server-afb5d45705f7d7743b9dfd2d79b618938cb05b77.tar.gz
nextcloud-server-afb5d45705f7d7743b9dfd2d79b618938cb05b77.zip
Merge pull request #4256 from nextcloud/theming
Move OC_Defaults to OCP\Defaults
Diffstat (limited to 'apps/federatedfilesharing')
-rw-r--r--apps/federatedfilesharing/settings-personal.php3
1 files changed, 2 insertions, 1 deletions
diff --git a/apps/federatedfilesharing/settings-personal.php b/apps/federatedfilesharing/settings-personal.php
index 71353cdef2e..d70f4e491a5 100644
--- a/apps/federatedfilesharing/settings-personal.php
+++ b/apps/federatedfilesharing/settings-personal.php
@@ -41,7 +41,8 @@ if (count($matches) > 0 && $matches[1] <= 9) {
$cloudID = \OC::$server->getUserSession()->getUser()->getCloudId();
$url = 'https://nextcloud.com/federation#' . $cloudID;
$logoPath = \OC::$server->getURLGenerator()->imagePath('core', 'logo-icon.svg');
-$theme = \OC::$server->getThemingDefaults();
+/** @var \OCP\Defaults $theme */
+$theme = \OC::$server->query(\OCP\Defaults::class);
$color = $theme->getColorPrimary();
$textColor = "#ffffff";
if(\OC::$server->getAppManager()->isEnabledForUser("theming")) {