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
mahara
mahara
Commits
dacd3f03
Commit
dacd3f03
authored
Nov 24, 2014
by
Son Nguyen
Committed by
Gerrit Code Review
Nov 24, 2014
Browse files
Merge "Adjusting upgrade check in admin/cli/upgrade.php (Bug #1394758)"
parents
a87d409e
23c17cd5
Changes
1
Show whitespace changes
Inline
Side-by-side
htdocs/admin/cli/upgrade.php
View file @
dacd3f03
...
@@ -38,7 +38,7 @@ if (!table_exists(new XMLDBTable('config'))) {
...
@@ -38,7 +38,7 @@ if (!table_exists(new XMLDBTable('config'))) {
// Check whether we need to do anything
// Check whether we need to do anything
$upgrades
=
check_upgrades
();
$upgrades
=
check_upgrades
();
if
(
!
$upgrades
)
{
if
(
empty
(
$upgrades
[
'settings'
][
'toupgradecount'
])
)
{
cli
::
cli_exit
(
get_string
(
'noupgrades'
,
'admin'
),
false
);
cli
::
cli_exit
(
get_string
(
'noupgrades'
,
'admin'
),
false
);
}
}
...
...
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