mirror of
https://github.com/moodle/moodle.git
synced 2025-04-21 08:22:07 +02:00
Fix throttling capabilities so this works MDL-7414
This commit is contained in:
parent
49292f8c8d
commit
dae2952a59
@ -75,7 +75,7 @@ $string['forum:deleteownpost'] = 'Delete own posts (within deadline)';
|
||||
$string['forum:editanypost'] = 'Edit any post';
|
||||
$string['forum:managesubscriptions'] = 'Manage subscriptions';
|
||||
$string['forum:movediscussions'] = 'Move discussions';
|
||||
$string['forum:nothrottling'] = 'No throttling';
|
||||
$string['forum:throttlingapplies'] = 'Throttling applies';
|
||||
$string['forum:rate'] = 'Rate posts';
|
||||
$string['forum:replypost'] = 'Reply to posts';
|
||||
$string['forum:splitdiscussions'] = 'Split discussions';
|
||||
|
@ -240,17 +240,13 @@ $mod_forum_capabilities = array(
|
||||
)
|
||||
),
|
||||
|
||||
'mod/forum:nothrottling' => array(
|
||||
'mod/forum:throttlingapplies' => array(
|
||||
|
||||
'riskbitmask' => RISK_SPAM,
|
||||
|
||||
'captype' => 'write',
|
||||
'contextlevel' => CONTEXT_MODULE,
|
||||
'legacy' => array(
|
||||
'teacher' => CAP_ALLOW,
|
||||
'editingteacher' => CAP_ALLOW,
|
||||
'coursecreator' => CAP_ALLOW,
|
||||
'admin' => CAP_ALLOW
|
||||
)
|
||||
)
|
||||
);
|
||||
|
@ -5,7 +5,7 @@
|
||||
// This fragment is called by /admin/index.php
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
$module->version = 2006092001;
|
||||
$module->version = 2006092002;
|
||||
$module->requires = 2006082600; // Requires this Moodle version
|
||||
$module->cron = 60;
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user