mirror of
https://github.com/nextcloud/server.git
synced 2026-06-11 01:30:50 -04:00
Merge pull request #5550 from owncloud/fix-4716-master
'Update to' is shown when there is no update
This commit is contained in:
commit
4750fbc226
1 changed files with 3 additions and 3 deletions
|
|
@ -259,7 +259,7 @@ class OC_Installer{
|
|||
/**
|
||||
* @brief Check if an update for the app is available
|
||||
* @param $name name of the application
|
||||
* @returns empty string is no update available or the version number of the update
|
||||
* @return boolean false or the version number of the update
|
||||
*
|
||||
* The function will check if an update for a version is available
|
||||
*/
|
||||
|
|
@ -275,11 +275,11 @@ class OC_Installer{
|
|||
return($ocsversion);
|
||||
|
||||
}else{
|
||||
return('');
|
||||
return false;
|
||||
}
|
||||
|
||||
}else{
|
||||
return('');
|
||||
return false;
|
||||
}
|
||||
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue