MDL-49894 forum: Add deprecated information for get_forum_discussions
authorJuan Leyva <juanleyvadelgado@gmail.com>
Thu, 16 Apr 2015 12:53:11 +0000 (14:53 +0200)
committerJuan Leyva <juanleyvadelgado@gmail.com>
Thu, 16 Apr 2015 12:53:11 +0000 (14:53 +0200)
mod/forum/db/services.php
mod/forum/upgrade.txt

index 09b4cb0..4890c3e 100644 (file)
@@ -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'
     ),
index 76d66de..9df95f6 100644 (file)
@@ -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 ===