Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
moodle
moodle
Commits
0b7fc76a
Commit
0b7fc76a
authored
Nov 03, 2011
by
Petr Skoda
Browse files
Fix errors in book module during stats execution
closes skodak/moodle-mod_book#20
parent
e2ddc531
Changes
2
Hide whitespace changes
Inline
Side-by-side
lib.php
View file @
0b7fc76a
...
...
@@ -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
);
}
}
...
...
version.php
View file @
0b7fc76a
...
...
@@ -25,10 +25,10 @@
defined
(
'MOODLE_INTERNAL'
)
||
die
;
$module
->
version
=
20111
014
00
;
// The current module version (Date: YYYYMMDDXX)
$module
->
version
=
20111
103
00
;
// 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.1beta
2
(20111
014
)"
;
// User-friendly version number
$module
->
release
=
"2.1beta
3
(20111
103
)"
;
// User-friendly version number
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment