Skip to content

Commit 543397b

Browse files
committed
Stop checking 2.4 legacy strings
1 parent d3060b2 commit 543397b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

parser/functions.php

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,6 @@ function build_lang(&$language) {
194194
// Prevent {0}} coming from TinyMCE strings.
195195
$text = str_replace('{0}}', '{0}', $text);
196196
} else {
197-
// @TODO: Remove that line when core.cannotconnect and core.login.invalidmoodleversion are completelly changed to use $a
198-
if (($appkey == 'core.cannotconnect' || $appkey == 'core.login.invalidmoodleversion') && strpos($text, '2.4')) {
199-
echo "\n*DEBUG* Found 2.4 in $lang $appkey \n";
200-
$text = str_replace('2.4', '{{$a}}', $text);
201-
}
202197
$language->local++;
203198
}
204199

0 commit comments

Comments
 (0)