summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorJulius Härtl <jus@bitgrid.net>2017-10-03 15:03:11 +0200
committerJulius Härtl <jus@bitgrid.net>2017-10-10 12:34:38 +0200
commitec0091d499c9790faa965dfb9a2bbe443581e96f (patch)
tree77dcedebe0d20c6bc87ffe0b6562aeca3ebbf512 /lib
parent8d1b32e59788633dc6ab77e736a72f00625a389d (diff)
downloadnextcloud-server-ec0091d499c9790faa965dfb9a2bbe443581e96f.tar.gz
nextcloud-server-ec0091d499c9790faa965dfb9a2bbe443581e96f.zip
Do not return app names multiple times
Signed-off-by: Julius Härtl <jus@bitgrid.net>
Diffstat (limited to 'lib')
-rw-r--r--lib/private/legacy/app.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/private/legacy/app.php b/lib/private/legacy/app.php
index a33c9be20fc..627107a63a8 100644
--- a/lib/private/legacy/app.php
+++ b/lib/private/legacy/app.php
@@ -768,6 +768,8 @@ class OC_App {
}
}
+ $apps = array_unique($apps);
+
return $apps;
}