summaryrefslogtreecommitdiffstats
path: root/apps/files/templates/index.php
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-11-11 19:58:54 +0100
committerThomas Tanghus <thomas@tanghus.net>2012-11-11 23:10:23 +0100
commit56239df2e7095d234a07240f22be368b41fbb9b6 (patch)
treec4f301ad0acf8af46bed441eddc1350d245e5122 /apps/files/templates/index.php
parent7f0c69eb0ed2c4074aedb73d16eb675c08042354 (diff)
downloadnextcloud-server-56239df2e7095d234a07240f22be368b41fbb9b6.tar.gz
nextcloud-server-56239df2e7095d234a07240f22be368b41fbb9b6.zip
Update all to use OCP\PERMISSION_* instead of OCP\Share::PERMISSION_*
Diffstat (limited to 'apps/files/templates/index.php')
-rw-r--r--apps/files/templates/index.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/files/templates/index.php b/apps/files/templates/index.php
index e2640c1113c..725390d4505 100644
--- a/apps/files/templates/index.php
+++ b/apps/files/templates/index.php
@@ -58,7 +58,7 @@
<th id="headerSize"><?php echo $l->t( 'Size' ); ?></th>
<th id="headerDate">
<span id="modified"><?php echo $l->t( 'Modified' ); ?></span>
- <?php if ($_['permissions'] & OCP\Share::PERMISSION_DELETE): ?>
+ <?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"><?php echo $l->t('Unshare')?> <img class="svg" alt="<?php echo $l->t('Unshare')?>" src="<?php echo OCP\image_path("core", "actions/delete.svg"); ?>" /></a></span>