From 75e4f98c0dffa91508c6e72985b30295cf9cb45e Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Wed, 22 Feb 2012 11:15:42 +1300 Subject: [PATCH] MDL-30987 message: Minor phpdoc fix ups --- lib/messagelib.php | 8 ++++---- message/externallib.php | 2 +- message/output/lib.php | 4 ++-- 3 files changed, 7 insertions(+), 7 deletions(-) diff --git a/lib/messagelib.php b/lib/messagelib.php index 4c5b5640b64..9619b96d88f 100644 --- a/lib/messagelib.php +++ b/lib/messagelib.php @@ -28,7 +28,7 @@ require_once(dirname(dirname(__FILE__)) . '/message/lib.php'); /** * Called when a message provider wants to send a message. - * This functions checks the message recipient's message processor configuration then + * This functions checks the message recipient's message processor configuration then * sends the message to the configured processors * * Required parameter $eventdata structure: @@ -361,11 +361,11 @@ function message_set_default_message_preference($component, $messagename, $filep } /** - * This function has been deprecated please use message_get_providers_for_user() instead. + * This function has been deprecated please use {@link message_get_providers_for_user()} instead. * * Returns the active providers for the current user, based on capability * - * @see message_get_providers_for_user()} + * @see message_get_providers_for_user() * @deprecated since 2.1 * @todo Remove in 2.2 (MDL-31031) * @return array An array of message providers @@ -409,7 +409,7 @@ function message_get_providers_for_user($userid) { * * This is an internal function used within messagelib.php * - * @see message_update_providers()} + * @see message_update_providers() * @param string $component A moodle component like 'moodle', 'mod_forum', 'block_quiz_results' * @return array An array of message providers */ diff --git a/message/externallib.php b/message/externallib.php index bad48b6be0b..76e8d9f1690 100644 --- a/message/externallib.php +++ b/message/externallib.php @@ -28,7 +28,7 @@ require_once("$CFG->libdir/externallib.php"); * * @package core_message * @copyright 2011 Moodle Pty Ltd (http://moodle.com) - * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later (6) + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ class core_message_external extends external_api { diff --git a/message/output/lib.php b/message/output/lib.php index 1860fc55acc..dd480e5cf43 100644 --- a/message/output/lib.php +++ b/message/output/lib.php @@ -21,7 +21,7 @@ * @copyright Luis Rodrigues * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ - + /** * Base message processor class for extension by message processors * @@ -60,7 +60,7 @@ abstract class message_output { * @param array $preferences preferences array */ public abstract function process_form($form, &$preferences); - + /** * Are the message processor's system settings configured? * -- 2.11.4.GIT