Skip to content

Commit

Permalink
Revert "MDL-31000 Respect sortorder of repositories when displaying t…
Browse files Browse the repository at this point in the history
…he filepicker"

This reverts commit ce40b66.
  • Loading branch information
Sam Hemelryk committed Jan 9, 2012
1 parent efabe26 commit 7984be4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion repository/lib.php
Expand Up @@ -2146,7 +2146,7 @@ function initialise_filepicker($args) {
$return->return_types = $args->return_types;
foreach ($repositories as $repository) {
$meta = $repository->get_meta();
$return->repositories[] = $meta;
$return->repositories[$repository->id] = $meta;
}
return $return;
}
Expand Down

0 comments on commit 7984be4

Please sign in to comment.