mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-49894 forum: Add deprecated information for get_forum_discussions
This commit is contained in:
parent
d7551257a0
commit
b235aef094
@ -40,7 +40,8 @@ $functions = array(
|
||||
'classname' => 'mod_forum_external',
|
||||
'methodname' => 'get_forum_discussions',
|
||||
'classpath' => 'mod/forum/externallib.php',
|
||||
'description' => 'Returns a list of forum discussions contained within a given set of forums.',
|
||||
'description' => 'DEPRECATED (use mod_forum_get_forum_discussions_paginated instead):
|
||||
Returns a list of forum discussions contained within a given set of forums.',
|
||||
'type' => 'read',
|
||||
'capabilities' => 'mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting'
|
||||
),
|
||||
|
@ -32,6 +32,8 @@ information provided here is intended especially for developers.
|
||||
* forum_get_subscribed_forums
|
||||
* forum_get_optional_subscribed_forums
|
||||
* forum_get_potential_subscribers
|
||||
* External function mod_forum_external::get_forum_discussions has been deprecated.
|
||||
Use mod_forum_external::get_forum_discussions_paginated instead.
|
||||
|
||||
=== 2.6 ===
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user