mirror of
https://github.com/moodle/moodle.git
synced 2025-08-06 01:16:44 +02:00
message MDL-26433 refactored the constants in messaging
This commit is contained in:
parent
48fe5c6cf9
commit
25bd5c75ab
5 changed files with 63 additions and 72 deletions
|
@ -27,10 +27,11 @@
|
|||
require('../config.php');
|
||||
require('lib.php');
|
||||
|
||||
//the same URL params as in 1.9
|
||||
$userid = required_param('id', PARAM_INT);
|
||||
$noframesjs = optional_param('noframesjs', 0, PARAM_BOOL);
|
||||
|
||||
$params = array('id'=>$userid);
|
||||
$params = array('user2'=>$userid);
|
||||
if (!empty($noframesjs)) {
|
||||
$params['noframesjs'] = $noframesjs;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue