mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
MDL-49894 forum: Add deprecated information for get_forum_discussions
This commit is contained in:
parent
d7551257a0
commit
b235aef094
2 changed files with 4 additions and 1 deletions
|
@ -40,7 +40,8 @@ $functions = array(
|
||||||
'classname' => 'mod_forum_external',
|
'classname' => 'mod_forum_external',
|
||||||
'methodname' => 'get_forum_discussions',
|
'methodname' => 'get_forum_discussions',
|
||||||
'classpath' => 'mod/forum/externallib.php',
|
'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',
|
'type' => 'read',
|
||||||
'capabilities' => 'mod/forum:viewdiscussion, mod/forum:viewqandawithoutposting'
|
'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_subscribed_forums
|
||||||
* forum_get_optional_subscribed_forums
|
* forum_get_optional_subscribed_forums
|
||||||
* forum_get_potential_subscribers
|
* 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 ===
|
=== 2.6 ===
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue