[LON-CAPA-cvs] cvs: loncom(version_2_11_X) /interface lonmsg.pm
raeburn
raeburn at source.lon-capa.org
Thu Aug 4 18:53:55 EDT 2016
raeburn Thu Aug 4 22:53:55 2016 EDT
Modified files: (Branch: version_2_11_X)
/loncom/interface lonmsg.pm
Log:
- For 2.11
- Backport 1.243
Index: loncom/interface/lonmsg.pm
diff -u loncom/interface/lonmsg.pm:1.239 loncom/interface/lonmsg.pm:1.239.2.1
--- loncom/interface/lonmsg.pm:1.239 Fri Feb 13 01:46:03 2015
+++ loncom/interface/lonmsg.pm Thu Aug 4 22:53:55 2016
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Routines for messaging
#
-# $Id: lonmsg.pm,v 1.239 2015/02/13 01:46:03 raeburn Exp $
+# $Id: lonmsg.pm,v 1.239.2.1 2016/08/04 22:53:55 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -397,10 +397,14 @@
}
sub unpackmsgid {
- my ($msgid,$folder,$skipstatus,$status_cache)=@_;
+ my ($msgid,$folder,$skipstatus,$status_cache,$onlycid)=@_;
$msgid=&unescape($msgid);
my ($sendtime,$shortsubj,$fromname,$fromdomain,$count,$fromcid,
$processid,$symb,$error) = split(/\:/,&unescape($msgid));
+ if (!defined($processid)) { $fromcid = ''; }
+ if (($onlycid) && ($onlycid ne $fromcid)) {
+ return ($sendtime,'',$fromname,$fromdomain,'',$fromcid,'',$error);
+ }
$shortsubj = &unescape($shortsubj);
$shortsubj = &HTML::Entities::decode($shortsubj);
$symb = &unescape($symb);
More information about the LON-CAPA-cvs
mailing list