]> git.sur5r.net Git - bacula/bacula/commitdiff
baculum: Fix required directives in schedule resource configuration
authorMarcin Haba <marcin.haba@bacula.pl>
Fri, 10 Nov 2017 18:27:49 +0000 (19:27 +0100)
committerMarcin Haba <marcin.haba@bacula.pl>
Sat, 11 Nov 2017 18:27:20 +0000 (19:27 +0100)
gui/baculum/protected/Web/Portlets/DirectiveSchedule.php

index 6d1d97a761eca3ed33a2e2f14852148bd9b71f6a..2ecfcab32de66b88477c338d3544c83ebde0b064 100644 (file)
@@ -105,9 +105,6 @@ class DirectiveSchedule extends DirectiveListTemplate {
                                $directive_desc = $resource_desc[$this->overwrite_directives[$i]];
                        }
                        if (is_object($directive_desc)) {
-                               if (property_exists($directive_desc, 'Required')) {
-                                       $required = $directive_desc->Required;
-                               }
                                if (property_exists($directive_desc, 'DefaultValue')) {
                                        $default_value = $directive_desc->DefaultValue;
                                }