Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-theme_boost_campus
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
elc
moodle-theme_boost_campus
Commits
0ee1daf0
Commit
0ee1daf0
authored
7 years ago
by
Alexander Bias
Browse files
Options
Downloads
Patches
Plain Diff
Add missing PHPDoc to make codechecker happier
parent
43781fe5
No related branches found
No related tags found
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGES.md
+1
-0
1 addition, 0 deletions
CHANGES.md
locallib.php
+6
-0
6 additions, 0 deletions
locallib.php
with
7 additions
and
0 deletions
CHANGES.md
+
1
−
0
View file @
0ee1daf0
...
@@ -6,6 +6,7 @@ Changes
...
@@ -6,6 +6,7 @@ Changes
### Unreleased
### Unreleased
*
2018-05-17 - Add missing PHPDoc to make codechecker happier.
*
2018-05-16 - Implement Privacy API.
*
2018-05-16 - Implement Privacy API.
*
2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated.
*
2018-04-25 - Removed build_action_menu_from_navigation in core_renderer as MDL-58174 is integrated.
*
2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution.
*
2018-04-25 - Fixed bug with accessing courses with guest login. Thanks to Benedikt Schneider for reporting and pointing to the solution.
...
...
This diff is collapsed.
Click to expand it.
locallib.php
+
6
−
0
View file @
0ee1daf0
...
@@ -364,6 +364,12 @@ function theme_boost_campus_get_incourse_activity_settings() {
...
@@ -364,6 +364,12 @@ function theme_boost_campus_get_incourse_activity_settings() {
return
$node
;
return
$node
;
}
}
/**
* Build the guest access hint HTML code.
*
* @param int $courseid The course ID.
* @return string.
*/
function
theme_boost_campus_get_course_guest_access_hint
(
$courseid
)
{
function
theme_boost_campus_get_course_guest_access_hint
(
$courseid
)
{
global
$CFG
;
global
$CFG
;
require_once
(
$CFG
->
dirroot
.
'/enrol/self/lib.php'
);
require_once
(
$CFG
->
dirroot
.
'/enrol/self/lib.php'
);
...
...
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