grthtrhthjhtyjytjytkergtrhtrjytjerhrfh4:24 29/09/2026. -------------------------------------------------------------------------- */ /** @file * @brief */ if (!defined('GLPI_ROOT')) { die("Sorry. You can't access this file directly"); } /** * Backup class * * @since version 0.85 **/ class Backup extends CommonGLPI { static $rightname = 'backup'; const CHECKUPDATE = 1024; /** * @since version 0.85.3 **/ static function canView() { return Session::haveRight(self::$rightname, READ); } static function getTypeName($nb=0) { return __('Maintenance'); } /** * @since version 0.85 * * @see commonDBTM::getRights() **/ function getRights($interface='central') { $values = array(READ => __('Read'), CREATE => __('Create'), PURGE => _x('button', 'Delete permanently'), self::CHECKUPDATE => __('Check for upgrade')); return $values; } } ?>