From 5d2a3c83ac8c086d1f7042cf82bb43d923c87472 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Thomas=20M=C3=BCller?= <thomas.mueller@tmit.eu>
Date: Wed, 9 Jul 2014 10:20:52 +0200
Subject: [PATCH] adding 'groups' entry to remote apps

---
 lib/private/app.php | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/lib/private/app.php b/lib/private/app.php
index 0bab3c8dbd..81e74a5167 100644
--- a/lib/private/app.php
+++ b/lib/private/app.php
@@ -506,7 +506,7 @@ class OC_App {
 	 * Get the directory for the given app.
 	 * If the app is defined in multiple directories, the first one is taken. (false if not found)
 	 *
-*@param string $appId
+	 * @param string $appId
 	 * @return string|false
 	 */
 	public static function getAppPath($appId) {
@@ -899,6 +899,7 @@ class OC_App {
 				$app1[$i]['ocs_id'] = $app['id'];
 				$app1[$i]['internal'] = $app1[$i]['active'] = 0;
 				$app1[$i]['update'] = false;
+				$app1[$i]['groups'] = false;
 				$app1[$i]['removable'] = false;
 				if ($app['label'] == 'recommended') {
 					$app1[$i]['internallabel'] = 'Recommended';
-- 
GitLab