aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMorris Jobke <morris.jobke@gmail.com>2013-10-28 03:33:27 -0700
committerMorris Jobke <morris.jobke@gmail.com>2013-10-28 03:33:27 -0700
commit4750fbc22655b27120136a0dfdc601fb37307bf5 (patch)
treeebffe39f82aa9f3fdd9d015bc8be2125d1a26b8d
parentc61d328ab9696a620b623fb2dfd1622eb0363dc4 (diff)
parent78971c61e6baddad1a5e4257b955324e8defef78 (diff)
downloadnextcloud-server-4750fbc22655b27120136a0dfdc601fb37307bf5.tar.gz
nextcloud-server-4750fbc22655b27120136a0dfdc601fb37307bf5.zip
Merge pull request #5550 from owncloud/fix-4716-master
'Update to' is shown when there is no update
-rw-r--r--lib/private/installer.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/private/installer.php b/lib/private/installer.php
index e082c7eeee9..a7ca7269716 100644
--- a/lib/private/installer.php
+++ b/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;
}
}