Skip to content

Conversation

@pauln
Copy link
Contributor

@pauln pauln commented May 24, 2016

When selecting an Echo, it's likely that you'll be selecting a recent Echo (often the most recent one); displaying the most recent presentation first reduces the amount of scrolling required to find it, especially in sections containing many presentations.

The second commit makes this function more readable by making the indentation consistent (and conform to Moodle coding style); the rest of locallib.php could do with similar treatment, but I've only fixed the indentation in the function I was already working on for now (similar to PR #25).

pauln added 2 commits May 25, 2016 10:10
When selecting an Echo, it's likely that you'll be selecting a recent Echo
(often the most recent one); displaying the most recent presentation first
reduces the amount of scrolling required to find it, especially in
sections containing many presentations.
…tions

The indentation in the echolink_ess_get_rest_section_presentations
function was inconsistent (a mix of tabs and spaces, as well as different
amounts of indentation on different lines), which made it hard to read.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant