Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse code

Merge branch 'MDL-33362-master' of git://github.com/ankitagarwal/moodle

  • Loading branch information...
commit 821aac54b4ccd9e2f06fb2174c1ecb4bcab8ebbd 2 parents 9522185 + 2609ae6
Dan Poltawski danpoltawski authored
3  mod/book/backup/moodle2/restore_book_activity_task.class.php
@@ -82,6 +82,9 @@ static public function define_decode_rules() {
82 82 $rules[] = new restore_decode_rule('BOOKVIEWBYB', '/mod/book/view.php?b=$1', 'book');
83 83 $rules[] = new restore_decode_rule('BOOKVIEWBYBCH', '/mod/book/view.php?b=$1&chapterid=$2', array('book', 'book_chapter'));
84 84
  85 + // Convert old book links MDL-33362
  86 + $rules[] = new restore_decode_rule('BOOKSTART', '/mod/book/view.php?id=$1', 'course_module');
  87 +
85 88 return $rules;
86 89 }
87 90
2  mod/book/version.php
@@ -25,6 +25,6 @@
25 25 defined('MOODLE_INTERNAL') || die;
26 26
27 27 $module->component = 'mod_book'; // Full name of the plugin (used for diagnostics)
28   -$module->version = 2012061700; // The current module version (Date: YYYYMMDDXX)
  28 +$module->version = 2012081600; // The current module version (Date: YYYYMMDDXX)
29 29 $module->requires = 2012061700; // Requires this Moodle version
30 30 $module->cron = 0; // Period for cron to check this module (secs)

0 comments on commit 821aac5

Please sign in to comment.
Something went wrong with that request. Please try again.