diff options
author | Lukas Reschke <lukas@statuscode.ch> | 2013-02-10 02:31:34 -0800 |
---|---|---|
committer | Lukas Reschke <lukas@statuscode.ch> | 2013-02-10 02:31:34 -0800 |
commit | 01fabd6c65805c1812c508bc1dfeef4feef4c384 (patch) | |
tree | 82933bbe27c838041105f20faf052ea54876978e | |
parent | 76a6209c8e0b97cc92c49b2e35545882927454e1 (diff) | |
parent | bd2f8980cd65b466342ae877e8a3ee54f8672391 (diff) | |
download | nextcloud-server-01fabd6c65805c1812c508bc1dfeef4feef4c384.tar.gz nextcloud-server-01fabd6c65805c1812c508bc1dfeef4feef4c384.zip |
Merge pull request #1577 from owncloud/typo_catagory
Typo
-rw-r--r-- | lib/app.php | 6 | ||||
-rw-r--r-- | settings/ajax/apps/ocs.php | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/lib/app.php b/lib/app.php index ca256ed1aaa..901a8171ef3 100644 --- a/lib/app.php +++ b/lib/app.php @@ -709,10 +709,10 @@ class OC_App{ * @return array, multi-dimensional array of apps. Keys: id, name, type, typename, personid, license, detailpage, preview, changed, description */ public static function getAppstoreApps( $filter = 'approved' ) { - $catagoryNames = OC_OCSClient::getCategories(); - if ( is_array( $catagoryNames ) ) { + $categoryNames = OC_OCSClient::getCategories(); + if ( is_array( $categoryNames ) ) { // Check that categories of apps were retrieved correctly - if ( ! $categories = array_keys( $catagoryNames ) ) { + if ( ! $categories = array_keys( $categoryNames ) ) { return false; } diff --git a/settings/ajax/apps/ocs.php b/settings/ajax/apps/ocs.php index d0205a1ba34..9bf3ccc34d2 100644 --- a/settings/ajax/apps/ocs.php +++ b/settings/ajax/apps/ocs.php @@ -23,9 +23,9 @@ if(is_null($enabledApps)) { $apps=array(); // apps from external repo via OCS -$catagoryNames=OC_OCSClient::getCategories(); -if(is_array($catagoryNames)) { - $categories=array_keys($catagoryNames); +$categoryNames=OC_OCSClient::getCategories(); +if(is_array($categoryNames)) { + $categories=array_keys($categoryNames); $page=0; $filter='approved'; $externalApps=OC_OCSClient::getApplications($categories, $page, $filter); |