Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
moodle_mod-hvp
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_mod-hvp
Commits
7787ef2e
Commit
7787ef2e
authored
4 years ago
by
Frode Petterson
Browse files
Options
Downloads
Patches
Plain Diff
JI-2080 Improve error message for hub cache
parent
321b502b
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
ajax.php
+1
-1
1 addition, 1 deletion
ajax.php
lang/en/hvp.php
+1
-0
1 addition, 0 deletions
lang/en/hvp.php
with
2 additions
and
1 deletion
ajax.php
+
1
−
1
View file @
7787ef2e
...
...
@@ -342,7 +342,7 @@ switch($action) {
* Handle filtering of parameters through AJAX.
*/
case
'contenthubmetadatacache'
:
if
(
!
framework
::
has_editor_access
(
'nopermissiontoviewcontent
types
'
))
{
if
(
!
framework
::
has_editor_access
(
'nopermissiontoviewcontent
hubcache
'
))
{
break
;
}
$editor
=
framework
::
instance
(
'editor'
);
...
...
This diff is collapsed.
Click to expand it.
lang/en/hvp.php
+
1
−
0
View file @
7787ef2e
...
...
@@ -240,6 +240,7 @@ $string['nopermissiontoviewresult'] = 'You do not have permission to view result
$string
[
'nopermissiontouploadfiles'
]
=
'You do not have permission to upload files here.'
;
$string
[
'nopermissiontouploadcontent'
]
=
'You do not have permission to upload content here.'
;
$string
[
'nopermissiontoviewcontenttypes'
]
=
'You do not have permission to view the content types.'
;
$string
[
'nopermissiontoviewcontenthubcache'
]
=
'You do not have permission to view the metadata for the content hub.'
;
// Editor translations.
$string
[
'noziparchive'
]
=
'Your PHP version does not support ZipArchive.'
;
...
...
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