mirror of
https://github.com/netzbegruenung/user_saml.git
synced 2024-04-27 23:04:53 +02:00
Make compatible with Nextcloud 11
Signed-off-by: Lukas Reschke <lukas@statuscode.ch>
This commit is contained in:
parent
91bef2fda1
commit
3b3363683e
|
@ -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>
|
||||
|
|
|
@ -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');
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue