summaryrefslogtreecommitdiffstats
path: root/lib/ocsclient.php
diff options
context:
space:
mode:
authorSam Tuke <samtuke@owncloud.com>2012-09-18 16:51:55 +0100
committerSam Tuke <samtuke@owncloud.com>2012-09-18 16:55:03 +0100
commit9df403f051354b24da61b12f6446d10d899f05f7 (patch)
treea05b04dacef9e78497a77945e28ce83f0e578be4 /lib/ocsclient.php
parent842cd57fa780029e60d0fb8094d4dd794bb33cb7 (diff)
downloadnextcloud-server-9df403f051354b24da61b12f6446d10d899f05f7.tar.gz
nextcloud-server-9df403f051354b24da61b12f6446d10d899f05f7.zip
Added failsafes for retrieving remote apps on settings->apps page, in case categories or app data are not found
Diffstat (limited to 'lib/ocsclient.php')
-rw-r--r--lib/ocsclient.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ocsclient.php b/lib/ocsclient.php
index 8596ea0b3c7..6428a883679 100644
--- a/lib/ocsclient.php
+++ b/lib/ocsclient.php
@@ -53,7 +53,7 @@ class OC_OCSClient{
/**
* @brief Get all the categories from the OCS server
* @returns array with category ids
- *
+ * @note returns NULL if config value appstoreenabled is set to false
* This function returns a list of all the application categories on the OCS server
*/
public static function getCategories() {