Permalink
Browse files

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

…menu"

This reverts commit 87e0230.
  • Loading branch information...
1 parent 020f0ff commit 3367e3ee1e8505b6fd74118179fa6e9c5378f689 @mudrd8mz mudrd8mz committed Jul 5, 2011
Showing with 0 additions and 4 deletions.
  1. +0 −4 lib/outputcomponents.php
View
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 3367e3e

Please sign in to comment.