Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

MDL-28421 Improve admin config class

admin_settings_configmultiselect_modules to include default value
  • Loading branch information...
commit 51f2d42f4fa1b32f72b9005a4e76aec86a74da49 1 parent 6884b59
@Beedell Beedell authored
Showing with 3 additions and 2 deletions.
  1. +3 −2 lib/adminlib.php
View
5 lib/adminlib.php
@@ -7863,9 +7863,10 @@ class admin_setting_configmultiselect_modules extends admin_setting_configmultis
* @param string $name setting name
* @param string $visiblename localised setting name
* @param string $description setting description
+ * @param array $defaultsetting a plain array of default module ids
*/
- public function __construct($name, $visiblename, $description) {
- parent::__construct($name, $visiblename, $description, array(), null);
+ public function __construct($name, $visiblename, $description, $defaultsetting = array()) {
+ parent::__construct($name, $visiblename, $description, $defaultsetting, null);
}
/**
Please sign in to comment.
Something went wrong with that request. Please try again.