From 7efd488e76ca60f8c6c0c0cdeb50a527db526e02 Mon Sep 17 00:00:00 2001 From: Eloy Lafuente Date: Sun, 5 Sep 2010 16:58:30 +0000 Subject: [PATCH] MDL-23437 backup - move restore:restoreactivity cap from module to course context --- lib/db/access.php | 2 +- version.php | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) 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