Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
10
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Open sidebar
iena
iena-course-format
Commits
dd27fa61
Commit
dd27fa61
authored
Jan 25, 2019
by
Thomas Fradet
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
edit droit message
parent
0f010331
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
send_message_post.php
send_message_post.php
+1
-1
No files found.
send_message_post.php
View file @
dd27fa61
...
...
@@ -41,7 +41,7 @@
$PAGE
->
set_pagelayout
(
'course'
);
$PAGE
->
set_url
(
$url
);
if
(
!
has_capability
(
'
moodle/course:update
'
,
$context
=
context_course
::
instance
(
$courseID
),
$USER
->
id
))
{
if
(
!
has_capability
(
'
course/iena:suivi
'
,
$context
=
context_course
::
instance
(
$courseID
),
$USER
->
id
))
{
$link
=
$CFG
->
wwwroot
.
'/course/view.php?id='
.
$courseID
;
header
(
"Location:
{
$link
}
"
);
exit
;
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment