MDL-30610 remove outdated report upgrade code

This commit is contained in:
Petr Skoda
2011-12-23 10:38:12 +01:00
parent 40e4cd435b
commit ce5e39e6c7
6 changed files with 0 additions and 36 deletions
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_completion_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_completion stuff
unset_all_config_for_plugin('coursereport_completion');
capabilities_cleanup('coursereport_completion');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-completion-index', array('pagetypepattern'=>'course-report-completion-index'));
}
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_log_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_log stuff
unset_all_config_for_plugin('coursereport_log');
capabilities_cleanup('coursereport_log');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-log-index', array('pagetypepattern'=>'course-report-log-index'));
}
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_outline_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_outline stuff
unset_all_config_for_plugin('coursereport_outline');
capabilities_cleanup('coursereport_outline');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-outline-index', array('pagetypepattern'=>'course-report-outline-index'));
}
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_participation_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_participation stuff
unset_all_config_for_plugin('coursereport_participation');
capabilities_cleanup('coursereport_participation');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-participation-index', array('pagetypepattern'=>'course-report-participation-index'));
}
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_progress_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_progress stuff
unset_all_config_for_plugin('coursereport_progress');
capabilities_cleanup('coursereport_progress');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-progress-index', array('pagetypepattern'=>'course-report-progress-index'));
}
-6
View File
@@ -28,11 +28,5 @@ defined('MOODLE_INTERNAL') || die;
function xmldb_report_stats_install() {
global $DB;
// this is a hack which is needed for cleanup of original coursereport_stats stuff
unset_all_config_for_plugin('coursereport_stats');
capabilities_cleanup('coursereport_stats');
// update existing block page patterns
$DB->set_field('block_instances', 'pagetypepattern', 'report-stats-index', array('pagetypepattern'=>'course-report-stats-index'));
}