Merge branch 'wip-MDL-38144-master' of git://github.com/marinaglancy/moodle

This commit is contained in:
Sam Hemelryk 2013-02-26 15:43:26 +13:00
commit 07ccb35731
2 changed files with 6 additions and 3 deletions

View file

@ -1678,7 +1678,6 @@ class core_course_external extends external_api {
$newcategory = new stdClass();
$newcategory->name = $category['name'];
$newcategory->parent = $category['parent'];
$newcategory->sortorder = 999; // Same as in the course/editcategory.php .
// Format the description.
if (!empty($category['description'])) {
$newcategory->description = $category['description'];