Permalink
Browse files

MDL-20438 pluginlib: Fix trivial whitespace issues issues

Also fixed a comment typo I spotted whilst reviewing
  • Loading branch information...
danpoltawski committed Apr 4, 2012
1 parent a973d32 commit 660c4d4643fad7606f6ec22b62d8e212fe34378f
Showing with 3 additions and 5 deletions.
  1. +3 −5 lib/pluginlib.php
View
@@ -527,14 +527,13 @@ public static function standard_plugins_list($type) {
if (isset($standard_plugins[$type])) {
return $standard_plugins[$type];
} else {
return false;
}
}
/**
* Reordes plugin types into a sequence to be displayed
* Reorders plugin types into a sequence to be displayed
*
* For technical reasons, plugin types returned by {@link get_plugin_types()} are
* in a certain order that does not need to fit the expected order for the display.
@@ -837,8 +836,7 @@ protected function restore_response($forcereload = false) {
$this->validate_response($config->recentresponse);
$this->recentfetch = $config->recentfetch;
$this->recentresponse = $this->decode_response($config->recentresponse);
}
catch (available_update_checker_exception $e) {
} catch (available_update_checker_exception $e) {
// do not set recentresponse if the validation fails
}
@@ -1193,7 +1191,7 @@ protected function cron_notify(array $notifications) {
$coreupdates = array();
$pluginupdates = array();
foreach($notifications as $notification) {
foreach ($notifications as $notification) {
if ($notification->component == 'core') {
$coreupdates[] = $notification;
} else {

0 comments on commit 660c4d4

Please sign in to comment.