# This patch file was generated by NetBeans IDE
# This patch can be applied using context Tools: Apply Diff Patch action on respective folder.
# It uses platform neutral UTF-8 encoding.
# Above lines and this line are ignored by the patching process.
Index: moodle/mod/forum/db/access.php
--- moodle/mod/forum/db/access.php Base (1.24)
+++ moodle/mod/forum/db/access.php Locally Modified (Based On 1.24)
@@ -294,7 +294,7 @@
         )
     ),
 
-    'mod/forum:throttlingapplies' => array(
+    'mod/forum:throttlingdoesntapply' => array(
 
         'riskbitmask' => RISK_SPAM,
 
Index: moodle/mod/forum/lib.php
--- moodle/mod/forum/lib.php Base (1.887)
+++ moodle/mod/forum/lib.php Locally Modified (Based On 1.887)
@@ -6825,7 +6825,7 @@
     }
 
     $modcontext = get_context_instance(CONTEXT_MODULE, $cm->id);
-    if(!has_capability('mod/forum:throttlingapplies', $modcontext)) {
+    if(has_capability('mod/forum:throttlingdoesntapply', $modcontext)) {
         return true;
     }
 
@@ -7155,7 +7155,7 @@
                 assign_capability('mod/forum:viewqandawithoutposting', CAP_PREVENT, $studentrole->id, $context->id);
                 assign_capability('mod/forum:viewsubscribers', CAP_PREVENT, $studentrole->id, $context->id);
                 assign_capability('mod/forum:managesubscriptions', CAP_PREVENT, $studentrole->id, $context->id);
-                assign_capability('mod/forum:throttlingapplies', CAP_PREVENT, $studentrole->id, $context->id);
+                assign_capability('mod/forum:throttlingdoesntapply', CAP_PREVENT, $studentrole->id, $context->id);
             }
             foreach ($guestroles as $guestrole) {
                 assign_capability('mod/forum:viewdiscussion', CAP_PREVENT, $guestrole->id, $context->id);
@@ -7174,7 +7174,7 @@
                 assign_capability('mod/forum:viewqandawithoutposting', CAP_PREVENT, $guestrole->id, $context->id);
                 assign_capability('mod/forum:viewsubscribers', CAP_PREVENT, $guestrole->id, $context->id);
                 assign_capability('mod/forum:managesubscriptions', CAP_PREVENT, $guestrole->id, $context->id);
-                assign_capability('mod/forum:throttlingapplies', CAP_PREVENT, $guestrole->id, $context->id);
+                assign_capability('mod/forum:throttlingdoesntapply', CAP_PREVENT, $guestrole->id, $context->id);
             }
         }
     } else {
Index: moodle/mod/forum/version.php
--- moodle/mod/forum/version.php Base (1.93)
+++ moodle/mod/forum/version.php Locally Modified (Based On 1.93)
@@ -24,8 +24,8 @@
  * @license   http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
  */
 
-$module->version  = 2010070800;
-$module->requires = 2010070800;  // Requires this Moodle version
+$module->version  = 2010072800;
+$module->requires = 2010072800;  // Requires this Moodle version
 $module->cron     = 60;
 
 
Index: moodle/version.php
--- moodle/version.php Base (1.1688)
+++ moodle/version.php Locally Modified (Based On 1.1688)
@@ -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 = 2010072700;  // YYYYMMDD   = date of the last version bump
+    $version = 2010072800;  // YYYYMMDD   = date of the last version bump
                             //         XX = daily increments
 
     $release = '2.0 Preview 4+ (Build: 20100728)';  // Human-friendly version name
