Name

DeleteDirective — disable use of specified configuration directive in catalog.cfg

SYNOPSIS

directive...

DESCRIPTION

This directive specifies the directives which are to be disabled during parse of the catalog.cfg files.

This can be effectively used to both save some memory on servers with many catalogs and prevent catalogs from setting some of the directives.

DIRECTIVE TYPE AND DEFAULT VALUE

Global directive

EXAMPLES

Example: Setting DeleteDirective

DeleteDirective DescriptionField OfflineDir

NOTES

AVAILABILITY

DeleteDirective is available in Interchange versions:

4.6.0-5.7.0 (git-head)

SOURCE

Interchange 5.7.0:

Source: lib/Vend/Config.pm
Line 409 (context shows lines 399-405)

['DeleteDirective', sub {
            my $c = $Global::DeleteDirective || {};
            shift;
            my @sets = map { lc $_ } split /[,\s]+/, shift;
            @{$c}{@sets} = map { 1 } @sets;
            return $c;
           },            ''],

AUTHORS

Interchange Development Group

SEE ALSO

AddDirective(7ic)

DocBook! Interchange!