Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

ELIS 1.9.3.1 release

  • Loading branch information...
commit 3b22aedb3ee8127c768ff57d0a2b60a068ec8895 1 parent 640d96d
Justin Filip jfilip authored
2  patches/auth/cas/auth.php.patch
View
@@ -50,7 +50,7 @@ index eff89db..9de071f 100644
+ $table->addFieldInfo('mnethostid', XMLDB_TYPE_INTEGER, 10, XMLDB_UNSIGNED, null, null, null, null, null);
+ $table->addKeyInfo('primary', XMLDB_KEY_PRIMARY, array('username', 'mnethostid'));
+
- echo "Creating temp table $temptable\n";
+ echo "Creating temp table $temptable\n";
- $bulk_insert_records = 1; // no support for multiple sets of values
- execute_sql('CREATE GLOBAL TEMPORARY TABLE '.$temptable.' (username VARCHAR(64), PRIMARY KEY (username)) ON COMMIT PRESERVE ROWS', false);
- break;
2  patches/auth/ldap/auth.php.patch
View
@@ -57,7 +57,7 @@ index d1ce83b..0bdef27 100644
exit;
}
@@ -674,6 +656,7 @@ class auth_plugin_ldap extends auth_plugin_base {
- $sql = "SELECT u.id, u.username, u.email, u.auth
+ $sql = "SELECT u.id, u.username, u.email, u.auth
FROM {$CFG->prefix}user u
LEFT JOIN $temptable e ON u.username = e.username
+ AND u.mnethostid = e.mnethostid
27 patches/lib/formslib.php.patch
View
@@ -0,0 +1,27 @@
+diff --git a/lib/formslib.php b/lib/formslib.php
+index 61772ea..dbeeded 100644
+--- a/lib/formslib.php
++++ b/lib/formslib.php
+@@ -696,14 +696,14 @@ class moodleform {
+ $mform->setType("checkbox_controller$groupid", PARAM_INT);
+ $mform->setConstants(array("checkbox_controller$groupid" => $new_select_value));
+
+- // Locate all checkboxes for this group and set their value, IF the optional param was given
+- if (!is_null($select_value)) {
+- foreach ($this->_form->_elements as $element) {
+- if ($element->getAttribute('class') == "checkboxgroup$groupid") {
+- $mform->setConstants(array($element->getAttribute('name') => $select_value));
+- }
+- }
+- }
++ // Locate all checkboxes for this group and set their value, IF the optional param was given (RL - removed as per MDL-30263)
++ //if (!is_null($select_value)) {
++ // foreach ($this->_form->_elements as $element) {
++ // if ($element->getAttribute('class') == "checkboxgroup$groupid") {
++ // $mform->setConstants(array($element->getAttribute('name') => $select_value));
++ // }
++ // }
++ //}
+
+ $checkbox_controller_name = 'nosubmit_checkbox_controller' . $groupid;
+ $mform->registerNoSubmitButton($checkbox_controller_name);
4 patches/lib/moodlelib.php.patch
View
@@ -1,5 +1,5 @@
diff --git a/lib/moodlelib.php b/lib/moodlelib.php
-index bde71c2..6a409ef 100644
+index 2d5e774..09ab40e 100644
--- a/lib/moodlelib.php
+++ b/lib/moodlelib.php
@@ -1141,7 +1141,6 @@ function make_timestamp($year, $month=1, $day=1, $hour=0, $minute=0, $second=0,
@@ -48,7 +48,7 @@ index bde71c2..6a409ef 100644
@@ -5317,6 +5322,13 @@ function places_to_search_for_lang_strings() {
'profilefield_' => array('user/profile/field'),
'' => array('mod')
- );
+ );
+ $elis_plugins = get_list_of_plugins('elis');
+ foreach ($elis_plugins as $plugin) {
+ $places["elis:{$plugin}_"] = array('elis/{$plugin}/plugins');
4 version.php
View
@@ -6,10 +6,10 @@
// This is compared against the values stored in the database to determine
// whether upgrades should be performed (see lib/db/*.php)
- $version = 2007101591.10; // YYYYMMDD = date of the 1.9 branch (don't change)
+ $version = 2007101591.16; // YYYYMMDD = date of the 1.9 branch (don't change)
// X = release number 1.9.[0,1,2,3,4,5...]
// Y.YY = micro-increments between releases
- $release = '1.9.16 (Build: 20120109)'; // Human-friendly version name
+ $release = '1.9.18 (Build: 20120514)'; // Human-friendly version name
?>
Please sign in to comment.
Something went wrong with that request. Please try again.