"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "report/participation/locallib.php" between
moodle-3.6.5.tgz and moodle-3.6.6.tgz

About: moodle is a learning management system for producing Internet-based course Web sites. Latest 3.6 release.

locallib.php  (moodle-3.6.5.tgz):locallib.php  (moodle-3.6.6.tgz)
skipping to change at line 101 skipping to change at line 101
/** /**
* Return action sql and params. * Return action sql and params.
* *
* @param string $action action to be filtered. * @param string $action action to be filtered.
* @param string $modname module name. * @param string $modname module name.
* @return array actionsql and actionparams. * @return array actionsql and actionparams.
*/ */
function report_participation_get_action_sql($action, $modname) { function report_participation_get_action_sql($action, $modname) {
global $CFG, $DB; global $CFG, $DB;
$crudsql = ''; $actionsql = '';
$crudparams = array(); $actionparams = array();
$viewnames = array(); $viewnames = array();
$postnames = array(); $postnames = array();
include_once($CFG->dirroot.'/mod/' . $modname . '/lib.php'); include_once($CFG->dirroot.'/mod/' . $modname . '/lib.php');
$viewfun = $modname.'_get_view_actions'; $viewfun = $modname.'_get_view_actions';
$postfun = $modname.'_get_post_actions'; $postfun = $modname.'_get_post_actions';
if (function_exists($viewfun)) { if (function_exists($viewfun)) {
$viewnames = $viewfun(); $viewnames = $viewfun();
 End of changes. 1 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)