]> www.wagner.pp.ru Git - oss/stilllife.git/commitdiff
Removed some debug output
authorVictor Wagner <vitus@wagner.pp.ru>
Sun, 4 May 2008 14:55:57 +0000 (14:55 +0000)
committerVictor Wagner <vitus@wagner.pp.ru>
Sun, 4 May 2008 14:55:57 +0000 (14:55 +0000)
forum/forum

index 3a58ea626d0b87dc66b265f7eb974081caac6ab9..8c966e93bec89259db459e407268233edc289762 100755 (executable)
@@ -1246,10 +1246,8 @@ sub show_rights {
                        last if $d eq $forum->{forumroot};
                
                }
-       print STDERR "Found permission files in @dirs\n";       
        # Подставляем их куда надо
                for $d (@dirs) {
-                       print STDERR "substituting dir $d\n";
                        my %users = getperms($d);
                        my $title=gettitle($d."/".$forum->{indexfile});
                        my $item = newlistelement($tree,"dir","dirlist");
@@ -1518,7 +1516,6 @@ sub dispatch_objtype {
                                if exists($actions{'topic'});
                }       
        } elsif (-d $path_translated && -f $path_translated ."/".  $forum->{indexfile}) {
-                       print STDERR "Dispatching forum\n";
                $actions{'forum'}->($cgi,$forum,$path_translated) 
                        if exists($actions{'forum'});
 
@@ -2031,7 +2028,6 @@ sub replacefile {
 }      
 sub savetree {
        my ($filename,$tree,$lockfd) = @_;
-       print STDERR "Savetree(@_)\n";
        replacefile($filename,output_html($tree));
        close $lockfd if defined($lockfd);
 }      
@@ -2048,7 +2044,6 @@ sub discardtree {
 #
 sub output_html {
        my $tree=shift;
-       print STDERR "output_html(@_)\n";
        return '<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">'.
        $tree->as_HTML("<>&");
 }