From 56588dfbee09bbb19b0ebd30e398a33785218ea5 Mon Sep 17 00:00:00 2001 From: Sam Hemelryk Date: Tue, 21 Feb 2012 12:01:00 +1300 Subject: [PATCH] MDL-30988 Fixed phpdocs during integration review --- lib/ajax/ajaxlib.php | 2 +- lib/ajax/setuserpref.php | 9 ++++----- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/lib/ajax/ajaxlib.php b/lib/ajax/ajaxlib.php index 3880c78e41e..0060cfdd51d 100644 --- a/lib/ajax/ajaxlib.php +++ b/lib/ajax/ajaxlib.php @@ -27,7 +27,7 @@ * You need to call this function if you wish to use the set_user_preference method in javascript_static.php, to white-list the * preference you want to update from JavaScript, and to specify the type of cleaning you expect to be done on values. * - * @package core_preference + * @package core * @category preference * @param string $name the name of the user_perference we should allow to be updated by remote calls. * @param integer $paramtype one of the PARAM_{TYPE} constants, user to clean submitted values before set_user_preference is called. diff --git a/lib/ajax/setuserpref.php b/lib/ajax/setuserpref.php index 884a5ecad27..d4b819dae16 100644 --- a/lib/ajax/setuserpref.php +++ b/lib/ajax/setuserpref.php @@ -13,18 +13,17 @@ // // You should have received a copy of the GNU General Public License // along with Moodle. If not, see . - - + /** * Code to update a user preference in response to an ajax call. * * You should not send requests to this script directly. Instead use the set_user_preference * function in javascript_static.js. * - * @package core_preference + * @package core * @category preference - * @copyright Copyright (C) 1999 onwards Martin Dougiamas http://dougiamas.com - * @license http://www.gnu.org/copyleft/gpl.html GNU Public License + * @copyright 2008 Tim Hunt + * @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later */ require_once(dirname(__FILE__) . '/../../config.php');