]> git.mjollnir.org Git - moodle.git/commitdiff
forum throttling capability meaning reversed
authorskodak <skodak>
Wed, 20 Sep 2006 21:25:51 +0000 (21:25 +0000)
committerskodak <skodak>
Wed, 20 Sep 2006 21:25:51 +0000 (21:25 +0000)
lang/en_utf8/forum.php
mod/forum/db/access.php
mod/forum/version.php

index 8fb382407589aeeaa352afd76cd2b425f639e98d..6bd015af32dd85f472140e423bcb45aefe326003 100644 (file)
@@ -86,7 +86,7 @@ $string['forum:editanypost'] = 'Edit any post';
 $string['forum:viewqandawithoutposting'] = 'Always see Q and A posts';
 $string['forum:viewsubscribers'] = 'View subscribers';
 $string['forum:managesubscriptions'] = 'Manage subscriptions';
-$string['forum:throttlingapplies'] = 'Throttling applies';
+$string['forum:nothrottling'] = 'No throttling';
 $string['forumintro'] = 'Forum introduction';
 $string['forumname'] = 'Forum name';
 $string['forumposts'] = 'Forum posts';
index 8beac410dd8c18f9088a6e041b4203b04c753a56..0828dfc95e4eb26451e91a3c1a535af37c66e333 100644 (file)
@@ -279,17 +279,19 @@ $mod_forum_capabilities = array(
         )
     ),
 
-    'mod/forum:throttlingapplies' => array(
+    'mod/forum:nothrottling' => array(
+
+        'riskbitmask' => RISK_SPAM,
 
         'captype' => 'write',
         'contextlevel' => CONTEXT_MODULE,
         'legacy' => array(
-            'guest' => CAP_ALLOW,
-            'student' => CAP_ALLOW,
-            'teacher' => CAP_PREVENT,
-            'editingteacher' => CAP_PREVENT,
-            'coursecreator' => CAP_PREVENT,
-            'admin' => CAP_PREVENT
+            'guest' => CAP_PREVENT,
+            'student' => CAP_PREVENT,
+            'teacher' => CAP_ALLOW,
+            'editingteacher' => CAP_ALLOW,
+            'coursecreator' => CAP_ALLOW,
+            'admin' => CAP_ALLOW
         )
     )
 );
index a797f5d48ac24ccbedd288bc44c4b4b361cf35d1..5359638b1076009132b9e75912ee22f27b386a37 100644 (file)
@@ -5,7 +5,7 @@
 //  This fragment is called by /admin/index.php
 ////////////////////////////////////////////////////////////////////////////////
 
-$module->version  = 2006091800;
+$module->version  = 2006092001;
 $module->requires = 2006082600;  // Requires this Moodle version
 $module->cron     = 60;