--- loncom/interface/londocs.pm 2012/07/22 04:01:24 1.492 +++ loncom/interface/londocs.pm 2012/10/01 12:06:46 1.496 @@ -1,7 +1,7 @@ # The LearningOnline Network # Documents # -# $Id: londocs.pm,v 1.492 2012/07/22 04:01:24 raeburn Exp $ +# $Id: londocs.pm,v 1.496 2012/10/01 12:06:46 goltermann Exp $ # # Copyright Michigan State University Board of Trustees # @@ -369,7 +369,7 @@ sub breadcrumbs { } sub log_docs { - return &Apache::lonnet::instructor_log('docslog',@_); + return &Apache::lonnet::write_log('course','docslog',@_); } { @@ -2808,7 +2808,8 @@ ENDHEADERS ''.&mt('History').''. ''); foreach my $key (sort(keys(%changes))) { - if ($changes{$key}>$starttime) { + #excludes not versionable problems from resource version history: + if ($changes{$key}>$starttime && $key !~ /^\/res\/lib\/templates/) { my ($root,$extension)=($key=~/^(.*)\.(\w+)$/); my $currentversion=&Apache::lonnet::getversion($key); if ($currentversion<0) {