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
|
@ -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 New Issue