MDL-29030 migrate completion report to new report type
AMOS BEGIN
MOV [completion:view,coursereport_completion],[completion:view,report_completion]
MOV [completiondate,coursereport_completion],[completiondate,report_completion]
MOV [pluginpagetype,coursereport_completion],[pluginpagetype,report_completion]
MOV [pluginname,coursereport_completion],[pluginname,report_completion]
AMOS END
2011-11-02 10:56:35 +01:00
|
|
|
<?php
|
|
|
|
// This file is part of Moodle - http://moodle.org/
|
|
|
|
//
|
|
|
|
// Moodle is free software: you can redistribute it and/or modify
|
|
|
|
// it under the terms of the GNU General Public License as published by
|
|
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
|
|
// (at your option) any later version.
|
|
|
|
//
|
|
|
|
// Moodle is distributed in the hope that it will be useful,
|
|
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
// GNU General Public License for more details.
|
|
|
|
//
|
|
|
|
// You should have received a copy of the GNU General Public License
|
|
|
|
// along with Moodle. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
|
|
|
|
/**
|
2011-11-02 11:03:17 +01:00
|
|
|
* Version details
|
MDL-29030 migrate completion report to new report type
AMOS BEGIN
MOV [completion:view,coursereport_completion],[completion:view,report_completion]
MOV [completiondate,coursereport_completion],[completiondate,report_completion]
MOV [pluginpagetype,coursereport_completion],[pluginpagetype,report_completion]
MOV [pluginname,coursereport_completion],[pluginname,report_completion]
AMOS END
2011-11-02 10:56:35 +01:00
|
|
|
*
|
|
|
|
* @package report
|
|
|
|
* @subpackage completion
|
2011-11-02 11:03:17 +01:00
|
|
|
* @copyright 2009 Catalyst IT Ltd
|
|
|
|
* @author Aaron Barnes <aaronb@catalyst.net.nz>
|
MDL-29030 migrate completion report to new report type
AMOS BEGIN
MOV [completion:view,coursereport_completion],[completion:view,report_completion]
MOV [completiondate,coursereport_completion],[completiondate,report_completion]
MOV [pluginpagetype,coursereport_completion],[pluginpagetype,report_completion]
MOV [pluginname,coursereport_completion],[pluginname,report_completion]
AMOS END
2011-11-02 10:56:35 +01:00
|
|
|
* @license http://www.gnu.org/copyleft/gpl.html GNU GPL v3 or later
|
|
|
|
*/
|
|
|
|
|
|
|
|
defined('MOODLE_INTERNAL') || die;
|
|
|
|
|
2012-06-18 02:37:00 +02:00
|
|
|
$plugin->version = 2012061700; // The current plugin version (Date: YYYYMMDDXX)
|
|
|
|
$plugin->requires = 2012061700; // Requires this Moodle version
|
MDL-29030 migrate completion report to new report type
AMOS BEGIN
MOV [completion:view,coursereport_completion],[completion:view,report_completion]
MOV [completiondate,coursereport_completion],[completiondate,report_completion]
MOV [pluginpagetype,coursereport_completion],[pluginpagetype,report_completion]
MOV [pluginname,coursereport_completion],[pluginname,report_completion]
AMOS END
2011-11-02 10:56:35 +01:00
|
|
|
$plugin->component = 'report_completion'; // Full name of the plugin (used for diagnostics)
|