mirror of
https://github.com/moodle/moodle.git
synced 2025-01-19 14:27:22 +01:00
Merge branch 'MDL-35007-master' of git://github.com/ankitagarwal/moodle
This commit is contained in:
commit
27b1b28552
@ -82,8 +82,9 @@ class restore_book_activity_task extends restore_activity_task {
|
||||
$rules[] = new restore_decode_rule('BOOKVIEWBYB', '/mod/book/view.php?b=$1', 'book');
|
||||
$rules[] = new restore_decode_rule('BOOKVIEWBYBCH', '/mod/book/view.php?b=$1&chapterid=$2', array('book', 'book_chapter'));
|
||||
|
||||
// Convert old book links MDL-33362
|
||||
// Convert old book links MDL-33362 & MDL-35007
|
||||
$rules[] = new restore_decode_rule('BOOKSTART', '/mod/book/view.php?id=$1', 'course_module');
|
||||
$rules[] = new restore_decode_rule('BOOKCHAPTER', '/mod/book/view.php?id=$1&chapterid=$2', array('course_module', 'book_chapter'));
|
||||
|
||||
return $rules;
|
||||
}
|
||||
|
@ -25,6 +25,6 @@
|
||||
defined('MOODLE_INTERNAL') || die;
|
||||
|
||||
$module->component = 'mod_book'; // Full name of the plugin (used for diagnostics)
|
||||
$module->version = 2012081600; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->version = 2012090400; // The current module version (Date: YYYYMMDDXX)
|
||||
$module->requires = 2012061700; // Requires this Moodle version
|
||||
$module->cron = 0; // Period for cron to check this module (secs)
|
||||
|
Loading…
x
Reference in New Issue
Block a user