Skip to content
This repository

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Showing 1 changed file with 1 addition and 1 deletion. Show diff stats Hide diff stats

  1. +1 1  db/upgrade.php
2  db/upgrade.php
@@ -31,7 +31,7 @@ function xmldb_book_upgrade($oldversion) {
31 31 $dbman = $DB->get_manager();
32 32
33 33 if ($oldversion < 2004081100) {
34   - new upgrade_exception('mod_book', $oldversion, 'Can not upgrade such an old book module, sorry, you should have upgraded it long time ago in 1.9 already.');
  34 + throw new upgrade_exception('mod_book', $oldversion, 'Can not upgrade such an old book module, sorry, you should have upgraded it long time ago in 1.9 already.');
35 35 }
36 36
37 37 if ($oldversion < 2007052001) {

0 comments on commit 33b8e0f

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