Merge pull request #5550 from owncloud/fix-4716-master

'Update to' is shown when there is no update
This commit is contained in:
Morris Jobke 2013-10-28 03:33:27 -07:00
commit 4750fbc226
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}