Make compatible with Nextcloud 11

Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
Lukas Reschke 2017-05-27 00:00:28 +01:00
parent 91bef2fda1
commit 3b3363683e
No known key found for this signature in database
GPG Key ID: B9F6980CF6E759B1
2 changed files with 3 additions and 8 deletions

View File

@ -33,7 +33,7 @@ While theoretically any other authentication provider implementing either one of
<repository type="git">https://github.com/nextcloud/user_saml.git</repository>
<dependencies>
<lib>mcrypt</lib>
<nextcloud min-version="12" max-version="12" />
<nextcloud min-version="11" max-version="11" />
</dependencies>
<settings>
<admin>\OCA\User_SAML\Settings\Admin</admin>

View File

@ -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');
}
}