<?php

namespace backups\config;

use Exception;
use traits\module_config_variable;

class backups_restore_enabled_c
{
    use module_config_variable;

    /**
     * @throws Exception
     */
    public function __construct()
    {
        self::setupConfigVariable(
            'Backups',
            'restore_enabled',
            'bool',
            true,
            null,
            'Whether direct production restore execution is enabled for superusers.',
            '0',
            false,
            'false'
        );
    }
}
