From 3b3363683e88c006f8451097c4f65e018e11352c Mon Sep 17 00:00:00 2001 From: Lukas Reschke Date: Sat, 27 May 2017 00:00:28 +0100 Subject: [PATCH] Make compatible with Nextcloud 11 Signed-off-by: Lukas Reschke --- appinfo/info.xml | 2 +- lib/Settings/Section.php | 9 ++------- 2 files changed, 3 insertions(+), 8 deletions(-) diff --git a/appinfo/info.xml b/appinfo/info.xml index 730107f..0ef2d32 100644 --- a/appinfo/info.xml +++ b/appinfo/info.xml @@ -33,7 +33,7 @@ While theoretically any other authentication provider implementing either one of https://github.com/nextcloud/user_saml.git mcrypt - + \OCA\User_SAML\Settings\Admin diff --git a/lib/Settings/Section.php b/lib/Settings/Section.php index 5c267d3..a435709 100644 --- a/lib/Settings/Section.php +++ b/lib/Settings/Section.php @@ -26,8 +26,9 @@ namespace OCA\User_SAML\Settings; use OCP\IL10N; use OCP\IURLGenerator; use OCP\Settings\IIconSection; +use OCP\Settings\ISection; -class Section implements IIconSection { +class Section implements ISection { /** @var IL10N */ private $l; /** @var IURLGenerator */ @@ -64,10 +65,4 @@ class Section implements IIconSection { return 75; } - /** - * {@inheritdoc} - */ - public function getIcon() { - return $this->url->imagePath('user_saml', 'app-dark.svg'); - } }