Ad Code

How to clear user filters session in moodle

Before

// add filters
    $ufiltering->display_add();
    $ufiltering->display_active();
 

After change to 

// add filters
    $ufiltering->display_add();
    $ufiltering->display_active();

// Clear filters session
    $SESSION->user_filtering = array(); 

 

Page/Url: https://github.com/moodle/moodle/blob/master/admin/user.php



Post a Comment

0 Comments