Skip to content

Commit

Permalink
MDL-40402 libraries: update the mistake in comment
Browse files Browse the repository at this point in the history
  • Loading branch information
ankitagarwal committed Jul 4, 2013
1 parent 492ba9d commit 0154617
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion lib/accesslib.php
Original file line number Diff line number Diff line change
Expand Up @@ -6001,7 +6001,7 @@ public static function instance($instanceid = 0, $strictness = MUST_EXIST, $cach


try {
// we ignore the strictness completely because system context must except except during install
// We ignore the strictness completely because system context must exist except during install.
$record = $DB->get_record('context', array('contextlevel'=>CONTEXT_SYSTEM), '*', MUST_EXIST);
} catch (dml_exception $e) {
//table or record does not exist
Expand Down
2 changes: 1 addition & 1 deletion lib/deprecatedlib.php
Original file line number Diff line number Diff line change
Expand Up @@ -4920,7 +4920,7 @@ function remove_temp_roles($context, array $accessdata) {
* Returns system context or null if can not be created yet.
*
* @see context_system::instance()
* @deprecated since 2.2, use context_system::instance()
* @deprecated since 2.2
* @param bool $cache use caching
* @return context system context (null if context table not created yet)
*/
Expand Down

0 comments on commit 0154617

Please sign in to comment.