Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle-tool_lifecycle
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-tool_lifecycle
Commits
5f57b3de
Unverified
Commit
5f57b3de
authored
7 years ago
by
Jan Dageförde
Browse files
Options
Downloads
Patches
Plain Diff
libbase: remove get_interaction_link as the URL is now static
parent
e046a172
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
step/email/lib.php
+2
-1
2 additions, 1 deletion
step/email/lib.php
step/lib.php
+0
-9
0 additions, 9 deletions
step/lib.php
with
2 additions
and
10 deletions
step/email/lib.php
+
2
−
1
View file @
5f57b3de
...
...
@@ -147,7 +147,8 @@ class email extends libbase {
$replacements
[]
=
$user
->
lastname
;
// Replace link to interaction page.
$url
=
$CFG
->
wwwroot
.
'/'
.
$this
->
get_interaction_link
(
$stepid
)
->
out
();
$interactionlink
=
new
\moodle_url
(
'admin/tool/cleanupcourses/view.php'
);
$url
=
$CFG
->
wwwroot
.
'/'
.
$interactionlink
->
out
();
$patterns
[]
=
'##link##'
;
$replacements
[]
=
$url
;
...
...
This diff is collapsed.
Click to expand it.
step/lib.php
+
0
−
9
View file @
5f57b3de
...
...
@@ -105,15 +105,6 @@ abstract class libbase {
public
function
extend_add_instance_form_definition_after_data
(
$mform
,
$settings
)
{
}
/**
* Generates the link to the interaction table of the respective step
* @param int $stepid id of the step
* @return \moodle_url
*/
public
function
get_interaction_link
(
$stepid
)
{
return
new
\moodle_url
(
'admin/tool/cleanupcourses/view.php'
,
array
(
'stepid'
=>
$stepid
));
}
}
/**
...
...
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