Skip to content
GitLab
Menu
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
73593f41
Commit
73593f41
authored
Apr 13, 2010
by
Petr Skoda
Browse files
MDL-22061 fixed warning
parent
49f0d481
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/datalib.php
View file @
73593f41
...
...
@@ -1591,9 +1591,6 @@ function make_default_scale() {
/// Read in the big description from the file. Note this is not
/// HTML (despite the file extension) but Moodle format text.
$parentlang
=
get_parent_language
();
if
(
$parentlang
[
0
]
==
'['
)
{
$parentlang
=
''
;
}
if
(
is_readable
(
$CFG
->
dataroot
.
'/lang/'
.
$CFG
->
lang
.
'/help/forum/ratings.html'
))
{
$file
=
file
(
$CFG
->
dataroot
.
'/lang/'
.
$CFG
->
lang
.
'/help/forum/ratings.html'
);
}
else
if
(
is_readable
(
$CFG
->
dirroot
.
'/lang/'
.
$CFG
->
lang
.
'/help/forum/ratings.html'
))
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a 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