aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files_sharing/appinfo
diff options
context:
space:
mode:
authorMorris Jobke <hey@morrisjobke.de>2018-07-16 16:29:17 +0200
committerMorris Jobke <hey@morrisjobke.de>2018-07-16 16:29:17 +0200
commit92e30698bb3f1387e883e2075360a796b9df996f (patch)
tree67f8a2a7535028def2450df6cea627f22aacdd0b /apps/files_sharing/appinfo
parentc0fcc0e45c19b2c7876bd0cd7620a763a8151238 (diff)
downloadnextcloud-server-92e30698bb3f1387e883e2075360a796b9df996f.tar.gz
nextcloud-server-92e30698bb3f1387e883e2075360a796b9df996f.zip
Reorder position of "Shared by me" and "Shared with me"
Signed-off-by: Morris Jobke <hey@morrisjobke.de>
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r--apps/files_sharing/appinfo/app.php18
1 files changed, 10 insertions, 8 deletions
diff --git a/apps/files_sharing/appinfo/app.php b/apps/files_sharing/appinfo/app.php
index d50da0285ab..567b1a16bac 100644
--- a/apps/files_sharing/appinfo/app.php
+++ b/apps/files_sharing/appinfo/app.php
@@ -56,14 +56,6 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
$sharingSublistArray = [];
- array_push($sharingSublistArray, [
- 'id' => 'sharingin',
- 'appname' => 'files_sharing',
- 'script' => 'list.php',
- 'order' => 15,
- 'name' => $l->t('Shared with you'),
- ]);
-
if (\OCP\Util::isSharingDisabledForUser() === false) {
array_push($sharingSublistArray, [
'id' => 'sharingout',
@@ -72,7 +64,17 @@ if ($config->getAppValue('core', 'shareapi_enabled', 'yes') === 'yes') {
'order' => 16,
'name' => $l->t('Shared with others'),
]);
+ }
+ array_push($sharingSublistArray, [
+ 'id' => 'sharingin',
+ 'appname' => 'files_sharing',
+ 'script' => 'list.php',
+ 'order' => 15,
+ 'name' => $l->t('Shared with you'),
+ ]);
+
+ if (\OCP\Util::isSharingDisabledForUser() === false) {
// Check if sharing by link is enabled
if ($config->getAppValue('core', 'shareapi_allow_links', 'yes') === 'yes') {
array_push($sharingSublistArray, [