--- doc/homework/storage.html 2001/05/21 15:24:47 1.1 +++ doc/homework/storage.html 2001/05/31 21:21:49 1.2 @@ -75,8 +75,8 @@ foreach my $key (sort(keys(%history))) { Calling convention:
-  my %record=&Apache::lonnet::restore($symb,$courseid,$domain,$uname,$home);
-  &Apache::lonnet::store(\%newrecord,$symb,$courseid,$domain,$uname,$home);
+  my %record=&Apache::lonnet::restore($symb,$courseid,$domain,$uname);
+  &Apache::lonnet::store(\%newrecord,$symb,$courseid,$domain,$uname);
     

Arguments (only %newrecord is required the rest are somewhat @@ -107,14 +107,6 @@ foreach my $key (sort(keys(%history))) { be looked at if no value is passed to the functions.
  • - $home - the homeserver for the user, usually found in - $ENV{'user.home'} but can be easily gotten from a - domain and name through - &Apache::lonnet::homeserver($uname,$domain). If no - value is passed to store/restore the value in %ENV will be - used. -
  • -
  • \%newrecord - the hash to store being passed by reference
  • @@ -132,16 +124,16 @@ foreach my $key (sort(keys(%history))) { specific user / resource instance.
  • - no_such_host - the $home specfied desn't exist + no_such_host - the homeserver dosen't exist in the network.
  • - con_delayed - the $home was uncontactable at + con_delayed - the homeserver was uncontactable at this time. The store will be delayed until it is again available.
  • - con_failed - the $home was uncontactable at this + con_failed - the homeserver was uncontactable at this time and store was unable to delay the store until a later time. The store failed.
  • @@ -157,7 +149,7 @@ foreach my $key (sort(keys(%history))) {
    Guy Albertelli
    -Last modified: Mon May 21 11:07:44 EDT 2001 +Last modified: Wed May 30 10:52:16 EDT 2001