Diff for /loncom/lond between versions 1.240 and 1.241

version 1.240, 2004/08/24 20:59:15 version 1.241, 2004/08/24 21:25:08
Line 1909  sub remove_user_file_handler { Line 1909  sub remove_user_file_handler {
     my $file=$udir.'/userfiles/'.$ufile;      my $file=$udir.'/userfiles/'.$ufile;
     if (-e $file) {      if (-e $file) {
         if (-f $file){          if (-f $file){
         unlink($file);      unlink($file);
         }elsif(-d $file){   } elsif(-d $file) {
         rmdir($file);      rmdir($file);
  }   }
  if (-e $file) {   if (-e $file) {
     &Failure($client, "failed\n", "$cmd:$tail");      &Failure($client, "failed\n", "$cmd:$tail");

Removed from v.1.240  
changed lines
  Added in v.1.241


FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>