Verified Commit 961e5f04 authored by Côme Chilliet's avatar Côme Chilliet
Browse files

:tractor: feat(ppolicy) Migrate ppolicy to new management class

issue #5914
Showing with 4 additions and 31 deletions
+4 -31
...@@ -2,7 +2,7 @@ ...@@ -2,7 +2,7 @@
/* /*
This code is part of FusionDirectory (http://www.fusiondirectory.org/) This code is part of FusionDirectory (http://www.fusiondirectory.org/)
Copyright (C) 2014-2015 Dhatim Copyright (C) 2014-2015 Dhatim
Copyright (C) 2014-2016 FusionDirectory Copyright (C) 2014-2019 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
...@@ -19,22 +19,18 @@ ...@@ -19,22 +19,18 @@
Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA. Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
*/ */
class ppolicyManagement extends simpleManagement class ppolicyManagement extends management
{ {
protected $objectTypes = array('ppolicy');
public static function plInfo() public static function plInfo()
{ {
return array( return array(
'plShortName' => _('Password policies'), 'plShortName' => _('Password policies'),
'plDescription' => _('Password policies management'), 'plTitle' => _('Password policies management'),
'plDescription' => _('Manage password policies'),
'plIcon' => 'geticon.php?context=applications&icon=ppolicy&size=48', 'plIcon' => 'geticon.php?context=applications&icon=ppolicy&size=48',
'plSection' => 'accounts', 'plSection' => 'accounts',
'plPriority' => 57, 'plPriority' => 57,
'plManages' => array('ppolicy'), 'plManages' => array('ppolicy'),
'plProvidedAcls' => array()
); );
} }
} }
?>
<?php
/*
This code is part of FusionDirectory (http://www.fusiondirectory.org)
Copyright (C) 2014-2015 Dhatim
Copyright (C) 2014-2016 FusionDirectory
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
the Free Software Foundation; either version 2 of the License, or
(at your option) any later version.
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
GNU General Public License for more details.
You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA
*/
simpleManagement::mainInc('ppolicyManagement');
?>
Supports Markdown
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