[LON-CAPA-cvs] cvs: loncom /interface loncommon.pm
albertel
lon-capa-cvs@mail.lon-capa.org
Mon, 03 Jul 2006 00:46:03 -0000
albertel Sun Jul 2 20:46:03 2006 EDT
Modified files:
/loncom/interface loncommon.pm
Log:
- update docs on redirect
Index: loncom/interface/loncommon.pm
diff -u loncom/interface/loncommon.pm:1.414 loncom/interface/loncommon.pm:1.415
--- loncom/interface/loncommon.pm:1.414 Sun Jul 2 20:44:21 2006
+++ loncom/interface/loncommon.pm Sun Jul 2 20:46:00 2006
@@ -1,7 +1,7 @@
# The LearningOnline Network with CAPA
# a pile of common routines
#
-# $Id: loncommon.pm,v 1.414 2006/07/03 00:44:21 albertel Exp $
+# $Id: loncommon.pm,v 1.415 2006/07/03 00:46:00 albertel Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -3477,8 +3477,10 @@
$args - optional arguments
force_register - if is true call registerurl so the remote is
informed
- redirect -> array ref of seconds before redirect occurs
- url to redirect to
+ redirect -> array ref of
+ 1- seconds before redirect occurs
+ 2- url to redirect to
+ 3- whether the side effect should occur
(side effect of setting
$env{'internal.head.redirect'} to the url
redirected too)