]> source.dussan.org Git - nextcloud-server.git/commitdiff
it is not possible to unshare files in OC5
authorBjoern Schiessle <schiessle@owncloud.com>
Thu, 5 Dec 2013 16:41:19 +0000 (17:41 +0100)
committerBjoern Schiessle <schiessle@owncloud.com>
Thu, 5 Dec 2013 16:44:09 +0000 (17:44 +0100)
apps/files/templates/index.php

index e3d4115413d4a18d7c0c06c84da8443ee011d720..eec0bec49cf51f52463f5b97f8b828519bb51036 100644 (file)
                        <th 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>