aboutsummaryrefslogtreecommitdiffstats
path: root/apps/files/templates/index.php
diff options
context:
space:
mode:
authorBjoern Schiessle <schiessle@owncloud.com>2013-12-05 17:41:19 +0100
committerBjoern Schiessle <schiessle@owncloud.com>2013-12-06 12:35:47 +0100
commite447d978d3f2c1c80508bfe1dc8aadf919382f0a (patch)
tree55d820e461267203e2d5a365b8d5aedda03ee661 /apps/files/templates/index.php
parent9371944e438bb30435732788b6b3d76a98374131 (diff)
downloadnextcloud-server-e447d978d3f2c1c80508bfe1dc8aadf919382f0a.tar.gz
nextcloud-server-e447d978d3f2c1c80508bfe1dc8aadf919382f0a.zip
it is not possible to unshare files
Diffstat (limited to 'apps/files/templates/index.php')
-rw-r--r--apps/files/templates/index.php19
1 files changed, 5 insertions, 14 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index 99d66ed3f9c..00ec109621f 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -69,20 +69,11 @@
<th <?php if (!$_['fileHeader']):?>class="hidden"<?php endif; ?> id="headerDate">
<span id="modified"><?php p($l->t( 'Modified' )); ?></span>
<?php if ($_['permissions'] & OCP\PERMISSION_DELETE): ?>
-<!-- NOTE: Temporary fix to allow unsharing of files in root of Shared folder -->
- <?php if ($_['dir'] == '/Shared'): ?>
- <span class="selectedActions"><a href="" class="delete-selected">
- <?php p($l->t('Unshare'))?>
- <img class="svg" alt="<?php p($l->t('Unshare'))?>"
- src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
- </a></span>
- <?php else: ?>
- <span class="selectedActions"><a href="" class="delete-selected">
- <?php p($l->t('Delete'))?>
- <img class="svg" alt="<?php p($l->t('Delete'))?>"
- src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
- </a></span>
- <?php endif; ?>
+ <span class="selectedActions"><a href="" class="delete-selected">
+ <?php p($l->t('Delete'))?>
+ <img class="svg" alt="<?php p($l->t('Delete'))?>"
+ src="<?php print_unescaped(OCP\image_path("core", "actions/delete.svg")); ?>" />
+ </a></span>
<?php endif; ?>
</th>
</tr>