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
d8bbed1e
Commit
d8bbed1e
authored
Feb 13, 2007
by
Martyn Smith
Committed by
Martyn Smith
Feb 13, 2007
Browse files
Remove fatal error, seems to be a duplicate block
parent
09d265e2
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/upgrade.php
View file @
d8bbed1e
...
...
@@ -154,12 +154,6 @@ function check_upgrades($name=null) {
$toupgrade
[
$pluginkey
]
=
$plugininfo
;
}
else
if
(
$config
->
version
>
$pluginversion
)
{
if
(
isset
(
$config
->
minupgradefrom
)
&&
isset
(
$config
->
minupgraderelease
)
&&
$pluginversion
<
$config
->
minupgradefrom
)
{
throw
new
SanityException
(
"Must upgrade to
$config->minupgradefrom
"
.
" (
$config->minupgraderelease
) first "
.
" (you have
$pluginversion
(
$pluginrelease
))"
);
}
if
(
isset
(
$config
->
minupgradefrom
)
&&
isset
(
$config
->
minupgraderelease
)
&&
$pluginversion
<
$config
->
minupgradefrom
)
{
throw
new
ConfigSanityException
(
"Must upgrade to
$config->minupgradefrom
"
...
...
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