mirror of
https://github.com/moodle/moodle.git
synced 2025-08-02 23:59:41 +02:00
More multilang support for site fullname, plus a couple extra comments. merged from MOODLE_18_STABLE
This commit is contained in:
parent
12970ac363
commit
c543cfe15f
1 changed files with 5 additions and 0 deletions
|
@ -5,6 +5,11 @@
|
|||
|
||||
function emailprotect_filter($courseid, $text) {
|
||||
|
||||
|
||||
if (!empty($CFG->formatstring)) {
|
||||
return $text;
|
||||
}
|
||||
|
||||
/// Do a quick check using stripos to avoid unnecessary work
|
||||
if (strpos($text, '@') === false) {
|
||||
return $text;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue