[LON-CAPA-cvs] cvs: loncom /interface portfolio.pm

banghart lon-capa-cvs@mail.lon-capa.org
Fri, 10 Sep 2004 18:05:15 -0000


banghart		Fri Sep 10 14:05:15 2004 EDT

  Modified files:              
    /loncom/interface	portfolio.pm 
  Log:
  	Remove superfluous line, rewrite call to remove_recent.
  
  
Index: loncom/interface/portfolio.pm
diff -u loncom/interface/portfolio.pm:1.41 loncom/interface/portfolio.pm:1.42
--- loncom/interface/portfolio.pm:1.41	Fri Sep 10 13:59:13 2004
+++ loncom/interface/portfolio.pm	Fri Sep 10 14:05:15 2004
@@ -213,8 +213,7 @@
     } else {
         # now remove from recent
 #        $r->print('<br /> removing '.$directory_name.'<br /');
-        my @rem_dirs = ($directory_name.'/');
-        &Apache::lonhtmlcommon::remove_recent('portfolio',\@rem_dirs);
+        &Apache::lonhtmlcommon::remove_recent('portfolio',[$directory_name.'/']);
         my @dirs = split m!/!, $directory_name;
         
 #        $directory_name =~ m/^(\/*\/)(\/*.)$/;