Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Trivial
-
Resolution: Unresolved
-
Affects Version/s: 1.9.4
-
Fix Version/s: None
-
Labels:
-
Difficulty:Easy
-
Affected Branches:MOODLE_19_STABLE
-
Pull from Repository:
-
Pull 1.9 Branch:
-
Pull 1.9 Diff URL:
Description
While playing with a possible patch for CONTRIB-1085, I noticed the following line:
print_error('mustbeloggedin');
There is no string or documentation page for mustbeloggedin. I played with the idea of simply using 'loggedinnot'; however, there was a comment in print_error indicating that it is best to have the string defined in error.php rather than relying on the backwards compatible option to look in /lang/en_utf8/moodle.php.
We should also go ahead and create:
http://docs.moodle.org/en/error/moodle/mustbeloggedin
I'll attach a patch with the new language string.
Peace - Anthony
Attachments
Issue Links
| This issue has been marked as being related by: | ||||
| MDL-17364 | Forum AJAX rating |
|
|
|
Actually, the 'mustbeloggedin' string exists (not in alphabetical order, but it exists nonetheless) in HEAD's error.php. I'm just going to go ahead and add it to 19STABLE. Peace - Anthony