Permalink
Browse files

hidden getOption calls

  • Loading branch information...
1 parent ae2bbd9 commit 99fdfd0c19262529942e167772b1f5556ca6d62d @cdujeu cdujeu committed Jun 7, 2016
Showing with 1 addition and 1 deletion.
  1. +1 −1 core/src/plugins/action.share/src/ShareCenter.php
@@ -1023,7 +1023,7 @@ public function updateNodeSharedData($oldNode=null, $newNode=null, $copy = false
$delete = true;
}else{
$repo = $newNode->getRepository();
- $recycle = $repo->getOption("RECYCLE_BIN");
+ $recycle = $repo->getContextOption($newNode->getContext(), "RECYCLE_BIN");
if(!empty($recycle) && strpos($newNode->getPath(), $recycle) === 1){
$delete = true;
}

0 comments on commit 99fdfd0

Please sign in to comment.