MDL-50102 versions: coding style cleanup.

This commit is contained in:
Eloy Lafuente (stronk7) 2015-05-05 18:23:21 +02:00
parent 84d6094685
commit 15005d91f0
15 changed files with 27 additions and 19 deletions

View File

@ -125,8 +125,16 @@ abstract class backup implements checksumable {
const OPERATION_BACKUP ='backup'; // We are performing one backup
const OPERATION_RESTORE ='restore';// We are performing one restore
// Version (to keep CFG->backup_version (and release) updated automatically)
// Version and release (to keep CFG->backup_version (and release) updated automatically).
/**
* Usually same than major release version, this is used to mark important
* point is backup when some behavior/approach channged, in order to allow
* conditional coding based on it.
*/
const VERSION = 2015051100;
/**
* Usually same than major release zero version, mainly for informative/historic purposes.
*/
const RELEASE = '2.9';
}

View File

@ -25,5 +25,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'enrol_imsenterprise';

View File

@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component= 'filter_data';
$plugin->dependencies = array('mod_data' => 2015050500);

View File

@ -26,7 +26,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component= 'filter_glossary';
$plugin->dependencies = array('mod_glossary' => 2015050500);

View File

@ -25,5 +25,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component= 'filter_mathjaxloader';

View File

@ -26,4 +26,4 @@ defined('MOODLE_INTERNAL') || die;
$plugin->component = 'booktool_exportimscp'; // Full name of the plugin (used for diagnostics)
$plugin->version = 2015051100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.

View File

@ -26,4 +26,4 @@ defined('MOODLE_INTERNAL') || die;
$plugin->component = 'booktool_importhtml'; // Full name of the plugin (used for diagnostics)
$plugin->version = 2015051100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.

View File

@ -26,4 +26,4 @@ defined('MOODLE_INTERNAL') || die;
$plugin->component = 'booktool_print'; // Full name of the plugin (used for diagnostics)
$plugin->version = 2015051100; // The current plugin version (Date: YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.

View File

@ -26,5 +26,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->component = 'workshopallocation_manual';
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopallocation_manual';

View File

@ -26,5 +26,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopeval_best';

View File

@ -29,5 +29,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopform_accumulative';

View File

@ -29,5 +29,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopform_comments';

View File

@ -29,5 +29,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopform_numerrors';

View File

@ -29,5 +29,5 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100;
$plugin->requires = 2015050500; // Requires this Moodle version
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'workshopform_rubric';

View File

@ -24,7 +24,7 @@
defined('MOODLE_INTERNAL') || die();
$plugin->version = 2015051100; // the current module version (YYYYMMDDXX)
$plugin->requires = 2015050500; // requires this Moodle version
$plugin->component = 'mod_workshop'; // full name of the plugin (used for diagnostics)
$plugin->cron = 60; // give as a chance every minute
$plugin->version = 2015051100; // The current module version (YYYYMMDDXX)
$plugin->requires = 2015050500; // Requires this Moodle version.
$plugin->component = 'mod_workshop';
$plugin->cron = 60; // Give as a chance every minute.