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
die_coolen_jungs
our_own_cloud_project
Commits
1c7f1a87
Commit
1c7f1a87
authored
Oct 30, 2014
by
Morris Jobke
Browse files
Merge pull request #11877 from owncloud/fix-11875-master
prevent PHP notice
parents
bed81ea8
99921489
Changes
1
Hide whitespace changes
Inline
Side-by-side
lib/private/app.php
View file @
1c7f1a87
...
...
@@ -990,7 +990,7 @@ class OC_App {
public
static
function
shouldUpgrade
(
$app
)
{
$versions
=
self
::
getAppVersions
();
$currentVersion
=
OC_App
::
getAppVersion
(
$app
);
if
(
$currentVersion
)
{
if
(
$currentVersion
&&
isset
(
$versions
[
$app
])
)
{
$installedVersion
=
$versions
[
$app
];
if
(
version_compare
(
$currentVersion
,
$installedVersion
,
'>'
))
{
return
true
;
...
...
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