Use the new Pydio prop on share to check if access is enabled

This commit is contained in:
Daniel Berteaud 2013-10-23 09:53:22 +02:00
parent 1b5123d525
commit c660ad6026
1 changed files with 1 additions and 1 deletions

View File

@ -50,7 +50,7 @@ EOF
foreach my $share ($a->get_all_by_prop(type=>'share')){
my $name = $share->key;
my $access = $share->prop('Ajaxplorer') || 'disabled';
my $access = $share->prop('Pydio') || 'disabled';
next unless ($access eq 'enabled');
my $desc = $share->prop('Name') || $name;
my $recycledir = (($share->prop('RecycleBin') || 'disabled') eq 'disabled') ?