MDL-22414 Fixed the order of course modules in the restored course
commit4ece48dc36535ad41ec6fd23be89db3856e99319
authorDavid Mudrak <david@moodle.com>
Thu, 9 Jun 2011 00:41:27 +0000 (9 02:41 +0200)
committerDavid Mudrak <david@moodle.com>
Thu, 9 Jun 2011 00:41:27 +0000 (9 02:41 +0200)
tree23da85c441d1401b26943963b6dfb7666bc9184f
parent30d5190a9b841ef001cd37ac6655751d66fb865d
MDL-22414 Fixed the order of course modules in the restored course

During the restore, the section's sequence field is ignored and the
order of modules is controlled by the order of the <contents> activity
elements. This patch makes sure that the modules are listed in that
section in the right order.

Also, the patch removes the obsolete stash sectionidslist which was
introduced when the method get_stash_itemids() had not existed yet.
backup/converter/moodle1/handlerlib.php
mod/resource/backup/moodle1/lib.php