Diff for /loncom/lond between versions 1.239 and 1.240

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

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


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