diff options
author | Julius Härtl <jus@bitgrid.net> | 2017-10-03 15:03:11 +0200 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2017-10-10 12:34:38 +0200 |
commit | ec0091d499c9790faa965dfb9a2bbe443581e96f (patch) | |
tree | 77dcedebe0d20c6bc87ffe0b6562aeca3ebbf512 /lib | |
parent | 8d1b32e59788633dc6ab77e736a72f00625a389d (diff) | |
download | nextcloud-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.php | 2 |
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; } |