Changeset 13812


Ignore:
Timestamp:
01/24/12 09:31:53 (4 weeks ago)
Author:
OlivierRaginel
Message:

Item11458: perltidy

Location:
trunk/core/lib/Foswiki
Files:
3 edited

Legend:

Unmodified
Added
Removed
  • trunk/core/lib/Foswiki/Store/VC/Handler.pm

    r13547 r13812  
    916916    if ( opendir( my $W, $web ) ) { 
    917917        foreach my $f ( readdir($W) ) { 
    918             my $file = $web.$f; 
     918            my $file = $web . $f; 
    919919            if ( $file =~ /^(.*)\.lease$/ ) { 
    920920                if ( !-e "$1.txt,v" ) { 
  • trunk/core/lib/Foswiki/Users/ApacheHtpasswdUser.pm

    r13811 r13812  
    125125 
    126126    # Otherwise, log a problem. 
    127     $this->{session}->logger->log( 
    128         'warning', 
    129         'The password file does not exist or cannot be written.' . 
    130         'Run =configure= and check the setting of {Htpasswd}{FileName}.' . 
    131         ' New user registration has been disabled until this is corrected.'); 
     127    $this->{session}->logger->log( 'warning', 
     128            'The password file does not exist or cannot be written.' 
     129          . 'Run =configure= and check the setting of {Htpasswd}{FileName}.' 
     130          . ' New user registration has been disabled until this is corrected.' 
     131    ); 
     132 
    132133    # And disable registration (and password changes) 
    133134    $Foswiki::cfg{Register}{EnableNewUserRegistration} = 0; 
  • trunk/core/lib/Foswiki/Users/HtPasswdUser.pm

    r13811 r13812  
    166166 
    167167    # Otherwise, log a problem. 
    168     $this->{session}->logger->log( 
    169         'warning', 
    170         'The password file does not exist or cannot be written.' . 
    171         'Run =configure= and check the setting of {Htpasswd}{FileName}.' . 
    172         ' New user registration has been disabled until this is corrected.'); 
     168    $this->{session}->logger->log( 'warning', 
     169            'The password file does not exist or cannot be written.' 
     170          . 'Run =configure= and check the setting of {Htpasswd}{FileName}.' 
     171          . ' New user registration has been disabled until this is corrected.' 
     172    ); 
     173 
    173174    # And disable registration (which will also disable password changes) 
    174175    $Foswiki::cfg{Register}{EnableNewUserRegistration} = 0; 
     
    417418 
    418419    close($fh); 
     420 
    419421    # Reset the cache timestamp 
    420422    $this->PasswordData($db); 
    421423    $this->PasswordTimestamp( 
    422424        ( stat( $Foswiki::cfg{Htpasswd}{FileName} ) )[9] ); 
    423     umask($oldMask);             # Restore original umask 
     425    umask($oldMask);    # Restore original umask 
    424426} 
    425427 
Note: See TracChangeset for help on using the changeset viewer.