Skip to content
Snippets Groups Projects
Commit 01fabd6c authored by Lukas Reschke's avatar Lukas Reschke
Browse files

Merge pull request #1577 from owncloud/typo_catagory

Typo
parents 76a6209c bd2f8980
No related branches found
No related tags found
No related merge requests found
...@@ -709,10 +709,10 @@ class OC_App{ ...@@ -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 * @return array, multi-dimensional array of apps. Keys: id, name, type, typename, personid, license, detailpage, preview, changed, description
*/ */
public static function getAppstoreApps( $filter = 'approved' ) { public static function getAppstoreApps( $filter = 'approved' ) {
$catagoryNames = OC_OCSClient::getCategories(); $categoryNames = OC_OCSClient::getCategories();
if ( is_array( $catagoryNames ) ) { if ( is_array( $categoryNames ) ) {
// Check that categories of apps were retrieved correctly // Check that categories of apps were retrieved correctly
if ( ! $categories = array_keys( $catagoryNames ) ) { if ( ! $categories = array_keys( $categoryNames ) ) {
return false; return false;
} }
......
...@@ -23,9 +23,9 @@ if(is_null($enabledApps)) { ...@@ -23,9 +23,9 @@ if(is_null($enabledApps)) {
$apps=array(); $apps=array();
// apps from external repo via OCS // apps from external repo via OCS
$catagoryNames=OC_OCSClient::getCategories(); $categoryNames=OC_OCSClient::getCategories();
if(is_array($catagoryNames)) { if(is_array($categoryNames)) {
$categories=array_keys($catagoryNames); $categories=array_keys($categoryNames);
$page=0; $page=0;
$filter='approved'; $filter='approved';
$externalApps=OC_OCSClient::getApplications($categories, $page, $filter); $externalApps=OC_OCSClient::getApplications($categories, $page, $filter);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment