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
a096a21e
Commit
a096a21e
authored
Apr 16, 2012
by
Dan Poltawski
Browse files
MDL-32443 queupgradehelper cli: fix path & whitespace
parent
87671425
Changes
1
Hide whitespace changes
Inline
Side-by-side
admin/tool/qeupgradehelper/cli/convert.php
View file @
a096a21e
...
...
@@ -71,7 +71,7 @@ if (!tool_qeupgradehelper_is_upgraded()) {
return
;
}
require_once
(
dirname
(
__FILE__
)
.
'/afterupgradelib.php'
);
require_once
(
dirname
(
dirname
(
__FILE__
)
)
.
'/afterupgradelib.php'
);
$starttime
=
time
();
...
...
@@ -107,7 +107,7 @@ while ((!$stoptime || (time() < $stoptime)) && (!$options['countlimit'] || ($cou
mtrace
(
'qeupgradehelper: No more quizzes to process.'
);
break
;
// No more to do.
}
$quizid
=
$quiz
->
id
;
}
$quizsummary
=
tool_qeupgradehelper_get_quiz
(
$quizid
);
...
...
@@ -120,7 +120,7 @@ while ((!$stoptime || (time() < $stoptime)) && (!$options['countlimit'] || ($cou
}
else
{
mtrace
(
'quiz '
.
$quizid
.
' not found or already upgraded.'
);
}
$count
++
;
}
...
...
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