mirror of
https://github.com/moodle/moodle.git
synced 2025-08-08 02:16:41 +02:00
Merge branch 'MDL-46652-master' of git://github.com/jethac/moodle
This commit is contained in:
commit
3cfbdd9e5a
2 changed files with 76 additions and 66 deletions
|
@ -332,7 +332,9 @@ EOF;
|
|||
Start|http://school.info
|
||||
Info
|
||||
-English|http://school.info/en|Information in English|en
|
||||
--Nested under English
|
||||
-Deutsch|http://school.info/de|Informationen in deutscher Sprache|de,de_du,de_kids
|
||||
--Nested under Deutsch
|
||||
EOF;
|
||||
|
||||
// The menu without multilang support.
|
||||
|
@ -383,7 +385,7 @@ EOF;
|
|||
$this->assertTrue($menu->has_children());
|
||||
$this->assertCount(2, $menu->get_children());
|
||||
|
||||
$children = $infomenu->get_children();
|
||||
$children = $menu->get_children();
|
||||
$infomenu = array_pop( $children);
|
||||
$this->assertFalse($infomenu->has_children());
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue