mirror of
https://github.com/moodle/moodle.git
synced 2025-04-13 04:22:07 +02:00
MDL-30988 Fixed phpdocs during integration review
This commit is contained in:
parent
26aca872ca
commit
56588dfbee
@ -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.
|
||||
|
@ -13,18 +13,17 @@
|
||||
//
|
||||
// You should have received a copy of the GNU General Public License
|
||||
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
||||
|
||||
|
||||
|
||||
/**
|
||||
* 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');
|
||||
|
Loading…
x
Reference in New Issue
Block a user