[LON-CAPA-cvs] cvs: loncom(version_2_9_X) /publisher lonpublisher.pm
raeburn
raeburn@source.lon-capa.org
Tue, 24 Nov 2009 01:11:53 -0000
raeburn Tue Nov 24 01:11:53 2009 EDT
Modified files: (Branch: version_2_9_X)
/loncom/publisher lonpublisher.pm
Log:
- Backport 1.263.
Index: loncom/publisher/lonpublisher.pm
diff -u loncom/publisher/lonpublisher.pm:1.258.2.2 loncom/publisher/lonpublisher.pm:1.258.2.3
--- loncom/publisher/lonpublisher.pm:1.258.2.2 Fri Aug 14 12:26:08 2009
+++ loncom/publisher/lonpublisher.pm Tue Nov 24 01:11:53 2009
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# Publication Handler
#
-# $Id: lonpublisher.pm,v 1.258.2.2 2009/08/14 12:26:08 raeburn Exp $
+# $Id: lonpublisher.pm,v 1.258.2.3 2009/11/24 01:11:53 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -1747,7 +1747,8 @@
# ------------------------------------------------------------- Trigger updates
push(@{$modified_urls},[$target,$source]);
unless ($registered_cleanup) {
- $r->register_cleanup(\¬ify);
+ my $handlers = $r->get_handlers('PerlCleanupHandler');
+ $r->set_handlers('PerlCleanupHandler' => [\¬ify,@{$handlers}]);
$registered_cleanup=1;
}