Skip to content
Snippets Groups Projects
Commit 4750fbc2 authored by Morris Jobke's avatar Morris Jobke
Browse files

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

'Update to' is shown when there is no update
parents c61d328a 78971c61
No related branches found
No related tags found
No related merge requests found
......@@ -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;
}
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment