diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 19:58:54 +0100 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-11-11 23:10:23 +0100 |
commit | 56239df2e7095d234a07240f22be368b41fbb9b6 (patch) | |
tree | c4f301ad0acf8af46bed441eddc1350d245e5122 /apps/files/templates/index.php | |
parent | 7f0c69eb0ed2c4074aedb73d16eb675c08042354 (diff) | |
download | nextcloud-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.php | 2 |
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> |