Permalink
Browse files

MDL-28168 Revert "MDL-27073 Support multi-language content in custom …

…menu"

This reverts commit 87e0230.
  • Loading branch information...
1 parent d64baec commit 5b806d1524ed47bd30ef0ccb4386d0046878df45 @mudrd8mz mudrd8mz committed Jul 5, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/outputcomponents.php
@@ -2370,10 +2370,6 @@ public function override_children(array $children) {
* @return array
*/
public static function convert_text_to_menu_nodes($text) {
- $text = format_text($text, FORMAT_MOODLE, array(
- 'para' => false,
- 'newlines' => false,
- 'context' => get_system_context()));
$lines = explode("\n", $text);
$children = array();
$lastchild = null;

0 comments on commit 5b806d1

Please sign in to comment.