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

'Update to' is shown when there is no update
remotes/origin/stable6
Morris Jobke 12 years ago
commit 4750fbc226
  1. 6
      lib/private/installer.php

@ -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…
Cancel
Save