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
4f023bda
Commit
4f023bda
authored
Dec 15, 2006
by
Penny Leach
Browse files
fixing small logic bug in plugin version to information in upgrader
parent
bb9482d2
Changes
1
Hide whitespace changes
Inline
Side-by-side
htdocs/lib/upgrade.php
View file @
4f023bda
...
...
@@ -136,11 +136,11 @@ function check_upgrades($name=null) {
$pluginversion
=
$installed
->
version
;
$pluginrelease
=
$installed
->
release
;
}
}
require
(
get_config
(
'docroot'
)
.
$pluginpath
.
'/version.php'
);
if
(
isset
(
$config
->
disablelogin
)
&&
!
empty
(
$config
->
disablelogin
))
{
$disablelogin
=
true
;
}
require
(
get_config
(
'docroot'
)
.
$pluginpath
.
'/version.php'
);
if
(
isset
(
$config
->
disablelogin
)
&&
!
empty
(
$config
->
disablelogin
))
{
$disablelogin
=
true
;
}
if
(
empty
(
$pluginversion
))
{
...
...
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