Difference: TWikiFuncDotPm (12 vs. 13)

Revision 132012-01-15 - TWikiContributor

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/ ) {
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding URCS? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.TWikiFuncDotPm.