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

bisitz bisitz at source.lon-capa.org
Thu Jan 16 11:34:01 EST 2014


bisitz		Thu Jan 16 16:34:01 2014 EDT

  Modified files:              
    /loncom/interface	lonmsgdisplay.pm 
  Log:
  In case of trying to delete an internal folder ensure to display folder name INBOX in error message
  
  
  
Index: loncom/interface/lonmsgdisplay.pm
diff -u loncom/interface/lonmsgdisplay.pm:1.171 loncom/interface/lonmsgdisplay.pm:1.172
--- loncom/interface/lonmsgdisplay.pm:1.171	Tue Dec  3 14:54:32 2013
+++ loncom/interface/lonmsgdisplay.pm	Thu Jan 16 16:34:01 2014
@@ -1,7 +1,7 @@
 # The LearningOnline Network with CAPA
 # Routines for messaging display
 #
-# $Id: lonmsgdisplay.pm,v 1.171 2013/12/03 14:54:32 bisitz Exp $
+# $Id: lonmsgdisplay.pm,v 1.172 2014/01/16 16:34:01 bisitz Exp $
 #
 # Copyright Michigan State University Board of Trustees
 #
@@ -380,7 +380,7 @@
     my ($folder)=@_;
     my %permfolders = &get_permanent_folders();
     if (defined($permfolders{$folder})) {
-        return &mt('The folder "[_1]" may not be deleted.',$folder); 
+        return &mt('The folder "[_1]" may not be deleted.',$permfolders{$folder}); 
     }
     my %userfolders = &Apache::lonmsg::get_user_folders();
     if (!defined($userfolders{$folder})) {




More information about the LON-CAPA-cvs mailing list