diff --git a/lib/db/access.php b/lib/db/access.php index 56b8f5a4aa0..bab8d9e477b 100644 --- a/lib/db/access.php +++ b/lib/db/access.php @@ -248,7 +248,7 @@ $capabilities = array( 'riskbitmask' => RISK_SPAM | RISK_PERSONAL | RISK_XSS, 'captype' => 'write', - 'contextlevel' => CONTEXT_MODULE, + 'contextlevel' => CONTEXT_COURSE, 'archetypes' => array( 'editingteacher' => CAP_ALLOW, 'manager' => CAP_ALLOW diff --git a/version.php b/version.php index 884a75ef4a5..4a390cce21f 100644 --- a/version.php +++ b/version.php @@ -6,7 +6,7 @@ // This is compared against the values stored in the database to determine // whether upgrades should be performed (see lib/db/*.php) - $version = 2010090300; // YYYYMMDD = date of the last version bump + $version = 2010090500; // YYYYMMDD = date of the last version bump // XX = daily increments $release = '2.0 Preview 4+ (Build: 20100905)'; // Human-friendly version name