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 5ba75edbd91e8092192b0f92752d6f65542752e8 1 parent ef753d5
Justin Filip jfilip authored
Showing with 11 additions and 11 deletions.
  1. +9 −9 patches/lib/accesslib.php.patch
  2. +2 −2 version.php
18 patches/lib/accesslib.php.patch
View
@@ -1152,7 +1152,7 @@ index 0ab769e..f5c085b
+ }
+ }
+ }
- }
+ }
+ return true;
+}
+
@@ -1165,11 +1165,11 @@ index 0ab769e..f5c085b
+function islegacy($capabilityname) {
+ if (strpos($capabilityname, 'moodle/legacy') === 0) {
+ return true;
- } else {
+ } else {
- // block does not exist
- $result = false;
+ return false;
- }
+ }
- break;
- case CONTEXT_USER:
- // default to basepath
@@ -1384,7 +1384,7 @@ index 0ab769e..f5c085b
+ if (context_level_base::context_level_exists($context)) {
+ $context_level = context_level_base::get_context_level($context);
+ return $context_level->print_context_name($context, $withprefix, $short);
- } else {
+ } else {
- $name .= format_string($course->fullname);
- }
- }
@@ -1422,7 +1422,7 @@ index 0ab769e..f5c085b
- break;
-
- default:
- error ('This is an unknown context (' . $context->contextlevel . ') in print_context_name!');
+ error ('This is an unknown context (' . $context->contextlevel . ') in print_context_name!');
- return false;
-
}
@@ -1627,7 +1627,7 @@ index 0ab769e..f5c085b
+ $context_level = context_level_base::get_context_level($context);
+ return $context_level->get_child_contexts($context);
+ } else {
- error('This is an unknown context (' . $context->contextlevel . ') in get_child_contexts!');
+ error('This is an unknown context (' . $context->contextlevel . ') in get_child_contexts!');
- return false;
}
}
@@ -1674,7 +1674,7 @@ index 0ab769e..f5c085b
+ if(context_level_base::context_level_exists($contextlevel)) {
+ $context_level = context_level_base::get_context_level($contextlevel);
+ return $context_level->get_component_string($component, $contextlevel);
- } else {
+ } else {
- $string = get_string('course');
- }
- break;
@@ -1692,7 +1692,7 @@ index 0ab769e..f5c085b
- break;
-
- default:
- error ('This is an unknown context $contextlevel (' . $contextlevel . ') in get_component_string!');
+ error ('This is an unknown context $contextlevel (' . $contextlevel . ') in get_component_string!');
- return false;
-
}
@@ -1797,7 +1797,7 @@ index 0ab769e..f5c085b
- $ctxemptyclause";
- execute_sql($sql, $feedback);
+ execute_sql("TRUNCATE TABLE {$CFG->prefix}context_temp", $feedback);
-
+
- // this is needed after every loop
- // MDL-11532
- execute_sql($updatesql, $feedback);
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.