Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-block_course_overview_uwmoodle
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Iterations
Wiki
Requirements
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Locked files
Build
Pipelines
Jobs
Pipeline schedules
Test cases
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Code review analytics
Issue analytics
Insights
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
uw-moodle
moodle-block_course_overview_uwmoodle
Commits
a62f5628
"dist/git@git.doit.wisc.edu:GAVORHES/webmapsjs.git" did not exist on "567efd188917ff74719bd7cf32a02e95853df443"
Commit
a62f5628
authored
10 years ago
by
Matt Petro
Browse files
Options
Downloads
Patches
Plain Diff
UWMOODLE-675: UW My Courses block revealing webservice tokens
Task-Url:
https://jira.doit.wisc.edu/jira/browse/UWMOODLE-675
parent
9125b5c4
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
getcourses.php
+1
-1
1 addition, 1 deletion
getcourses.php
renderer.php
+1
-1
1 addition, 1 deletion
renderer.php
with
2 additions
and
2 deletions
getcourses.php
+
1
−
1
View file @
a62f5628
...
@@ -55,7 +55,7 @@ if(confirm_sesskey()) {
...
@@ -55,7 +55,7 @@ if(confirm_sesskey()) {
list
(
$courses
,
$errors
)
=
block_course_overview_uwmoodle_get_sorted_courses
();
list
(
$courses
,
$errors
)
=
block_course_overview_uwmoodle_get_sorted_courses
();
if
(
!
empty
(
$errors
)){
if
(
!
empty
(
$errors
)){
if
(
debugging
()){
if
(
debugging
()
&&
is_siteadmin
()
){
$response
->
errors
=
$errors
;
$response
->
errors
=
$errors
;
}
else
{
}
else
{
$response
->
errors
=
get_string
(
'general_warning_message'
,
'block_course_overview_uwmoodle'
);
$response
->
errors
=
get_string
(
'general_warning_message'
,
'block_course_overview_uwmoodle'
);
...
...
This diff is collapsed.
Click to expand it.
renderer.php
+
1
−
1
View file @
a62f5628
...
@@ -346,7 +346,7 @@ class block_course_overview_uwmoodle_renderer extends plugin_renderer_base {
...
@@ -346,7 +346,7 @@ class block_course_overview_uwmoodle_renderer extends plugin_renderer_base {
error_log
(
$error
);
error_log
(
$error
);
}
}
if
(
debugging
()){
// if debugging show actual error messages
if
(
debugging
()
&&
is_siteadmin
()
){
// if debugging show actual error messages
$output
.
=
html_writer
::
alist
(
$errors
);
$output
.
=
html_writer
::
alist
(
$errors
);
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment