]> source.dussan.org Git - nextcloud-server.git/commitdiff
Typo
authorLukas Reschke <lukas@statuscode.ch>
Sat, 9 Feb 2013 22:37:42 +0000 (23:37 +0100)
committerLukas Reschke <lukas@statuscode.ch>
Sat, 9 Feb 2013 22:37:42 +0000 (23:37 +0100)
lib/app.php
settings/ajax/apps/ocs.php

index 3a4e21e8cd1e9f49730f79ef549be77d05ddbded..f9daea0bab9dd8286197ed89563d2839b2d15fe8 100644 (file)
@@ -683,10 +683,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;
                        }
 
index d0205a1ba34a0b0229bcc2621c70e2378376deaf..9bf3ccc34d2cb5bdcd30548a3c03d9f032edc851 100644 (file)
@@ -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);