diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2017-04-11 14:39:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-04-11 14:39:46 +0200 |
commit | afb5d45705f7d7743b9dfd2d79b618938cb05b77 (patch) | |
tree | a0828097cae435e504350d6aae0bbca56f40435c /apps/federatedfilesharing | |
parent | 5ca5ebe584999d6dbc4b363bb285c8ae00c1b5f2 (diff) | |
parent | d83c8e02718f5ae555e75d8582904611a4d6766a (diff) | |
download | nextcloud-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.php | 3 |
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")) { |