[LON-CAPA-cvs] cvs: loncom /interface loncourseauthor.pm
raeburn
raeburn at source.lon-capa.org
Wed Dec 25 09:20:20 EST 2024
raeburn Wed Dec 25 14:20:20 2024 EDT
Modified files:
/loncom/interface loncourseauthor.pm
Log:
- Checking if this is user's homeserver only applicable if role is author,
and this check was already done on line 80, for that case.
Index: loncom/interface/loncourseauthor.pm
diff -u loncom/interface/loncourseauthor.pm:1.3 loncom/interface/loncourseauthor.pm:1.4
--- loncom/interface/loncourseauthor.pm:1.3 Mon Mar 27 18:41:04 2023
+++ loncom/interface/loncourseauthor.pm Wed Dec 25 14:20:19 2024
@@ -1,7 +1,7 @@
# The LearningOnline Network
# Documents
#
-# $Id: loncourseauthor.pm,v 1.3 2023/03/27 18:41:04 raeburn Exp $
+# $Id: loncourseauthor.pm,v 1.4 2024/12/25 14:20:19 raeburn Exp $
#
# Copyright Michigan State University Board of Trustees
#
@@ -109,10 +109,6 @@
if ($env{'form.path'}) {
$relpath = $env{'form.path'};
}
- my @ids=&Apache::lonnet::current_machine_ids();
- if (grep(/^\Q$env{'user.home'}\E$/, at ids)) {
- $is_home = 1;
- }
if ($inc) {
map { $include->{$_} = 1; } split(/\s*,\s*/,$inc);
}
More information about the LON-CAPA-cvs
mailing list