Line: 1905 to 1905 | ||||||||
---|---|---|---|---|---|---|---|---|
DEPRECATED since 1.2 - use getPreferencesValue instead to determine
what permissions are set on the web, for example: | ||||||||
Changed: | ||||||||
< < | foreach my $type qw( ALLOW DENY ) { foreach my $action qw( CHANGE VIEW ) { | |||||||
> > | foreach my $type ( 'ALLOW', 'DENY' ) { foreach my $action ( 'CHANGE', 'VIEW' ) { | |||||||
my $pref = $type . 'WEB' . $action; my $val = getPreferencesValue( $pref, $web ) || ''; if( $val =~ /\S/ ) { |