Commit 62bb987e authored by Côme Chilliet's avatar Côme Chilliet
Browse files

Merge branch...

Merge branch '6048-deprecated-fallback-was-used-for-supannstructureext-is_this_account' into '1.4-dev'

Resolve "Deprecated fallback was used for supannStructureExt::is_this_account"

See merge request fusiondirectory/fd-plugins!713
parents fd940256 72fdebf5
<?php <?php
/* /*
This code is part of FusionDirectory (http://www.fusiondirectory.org/) This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2017-2018 FusionDirectory
Copyright (C) 2017-2020 FusionDirectory
This program is free software; you can redistribute it and/or modify This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by it under the terms of the GNU General Public License as published by
...@@ -20,23 +21,18 @@ ...@@ -20,23 +21,18 @@
class supannStructureExt extends simplePlugin class supannStructureExt extends simplePlugin
{ {
var $objectclasses = ['fdSupannExt'];
var $mainTab = TRUE;
/* Return plugin information */
static function plInfo (): array static function plInfo (): array
{ {
return [ return [
'plShortName' => _('SUPANN-Ext'), 'plShortName' => _('SUPANN-Ext'),
'plDescription' => _('SUPANN Non-Official Extension'), 'plDescription' => _('SUPANN Non-Official Extension'),
'plObjectType' => ['entite', 'etablissement'], 'plObjectType' => ['entite', 'etablissement'],
'plObjectClass' => ['fdSupannExt'],
'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo()) 'plProvidedAcls' => parent::generatePlProvidedAcls(static::getAttributesInfo())
]; ];
} }
// The main function : information about attributes
static function getAttributesInfo (): array static function getAttributesInfo (): array
{ {
return [ return [
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment