Commit 0b7fc76a authored by Petr Skoda's avatar Petr Skoda
Browse files

Fix errors in book module during stats execution

closes skodak/moodle-mod_book#20
parent e2ddc531
......@@ -237,7 +237,7 @@ function book_get_view_actions() {
}
$function = 'booktool_'.$plugin.'_get_view_actions';
if (function_exists($function)) {
if ($actions = $function($settingsnav, $booknode)) {
if ($actions = $function()) {
$return = array_merge($return, $actions);
}
}
......
......@@ -25,10 +25,10 @@
defined('MOODLE_INTERNAL') || die;
$module->version = 2011101400; // The current module version (Date: YYYYMMDDXX)
$module->version = 2011110300; // The current module version (Date: YYYYMMDDXX)
$module->requires = 2011070101; // Requires this Moodle version
$module->cron = 0; // Period for cron to check this module (secs)
$module->component = 'mod_book'; // Full name of the plugin (used for diagnostics)
$module->maturity = MATURITY_BETA;
$module->release = "2.1beta2 (20111014)"; // User-friendly version number
$module->release = "2.1beta3 (20111103)"; // User-friendly version number
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment