]> git.mjollnir.org Git - moodle.git/commitdiff
MDL-16024 adding spam risk to database approve capability; merged from MOODLE_19_STABLE
authorskodak <skodak>
Sun, 17 Aug 2008 22:48:51 +0000 (22:48 +0000)
committerskodak <skodak>
Sun, 17 Aug 2008 22:48:51 +0000 (22:48 +0000)
mod/data/db/access.php
mod/data/version.php

index 69f8d04877a64a4d94786313300ca57138f27534..35365e58198da9e6429f9182362ca059de611307 100644 (file)
@@ -98,6 +98,8 @@ $mod_data_capabilities = array(
 
     'mod/data:approve' => array(
 
+        'riskbitmask' => RISK_SPAM,
+
         'captype' => 'write',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
index 60bb0abaa150fc130ed9f316bcd316d6f9809a61..e41acfc6d271833bb4043e07c0563a2047bd665d 100644 (file)
@@ -5,7 +5,7 @@
 //  This fragment is called by /admin/index.php
 ////////////////////////////////////////////////////////////////////////////////
 
-$module->version  = 2008081400;
+$module->version  = 2008081401;
 $module->requires = 2008080701;  // Requires this Moodle version
 $module->cron     = 60;