version 1.62, 2021/06/20 20:35:05
|
version 1.63, 2022/01/14 16:27:20
|
Line 1072 sub instcode_defaults {
|
Line 1072 sub instcode_defaults {
|
(d) $lc_users - reference to hash containing LON-CAPA usernames in |
(d) $lc_users - reference to hash containing LON-CAPA usernames in |
in domain $dom, as keys. Needed if institutional |
in domain $dom, as keys. Needed if institutional |
data source only allows query by username. |
data source only allows query by username. |
|
(e) $counts - reference to hash (optional), for use when called |
|
from Autoupdate.pl which can contain counts for |
|
user-specified items retrieved in allusers_info() |
|
or in custom subroutines which it calls. Key in |
|
hashref, and count value will be printed to |
|
autoupdate.log by Autoupdate.pl. |
|
|
returns 1 parameter - 'ok' if no processing error, or other value |
returns 1 parameter - 'ok' if no processing error, or other value |
if an error occurred. |
if an error occurred. |
side effects - populates the $instusers and $instids refs to hashes. |
side effects - populates the $instusers and $instids refs to hashes. |
Line 1082 sub instcode_defaults {
|
Line 1089 sub instcode_defaults {
|
=cut |
=cut |
|
|
sub allusers_info { |
sub allusers_info { |
my ($dom,$instusers,$instids,$lc_users) = @_; |
my ($dom,$instusers,$instids,$lc_users,$counts) = @_; |
my $outcome = 'ok'; |
my $outcome = 'ok'; |
return $outcome; |
return $outcome; |
} |
} |