<?php

/**
 * @file
 * @brief       The plugin maintenance definition
 * @ingroup     maintenance
 *
 * @defgroup    maintenance Plugin maintenance.
 *
 * maintenance, Maintain your installation.
 *
 * @package     Dotclear
 *
 * @copyright   Olivier Meunier & Association Dotclear
 * @copyright   AGPL-3.0
 */
if (isset($this) && is_object($this) && method_exists($this, 'registerModule') && isset($this->id) && is_string($this->id)) {
    $this->registerModule(
        'Maintenance',                            // Name
        'Maintain your installation',             // Description
        'Olivier Meunier & Association Dotclear', // Author
        '2.0',                                    // Version
        [
            'permissions' => 'My',
            'type'        => 'plugin',
            'settings'    => [
                'self' => '#settings',
            ],
        ]
    );
}
