Skip to content
This repository has been archived by the owner on Nov 25, 2020. It is now read-only.

Commit

Permalink
Fix set context for object
Browse files Browse the repository at this point in the history
  • Loading branch information
c12simple committed Sep 1, 2017
1 parent 9b3b23b commit 81567b0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion core/src/plugins/action.share/src/ShareCenter.php
Expand Up @@ -559,8 +559,9 @@ public function preProcessDownload(ServerRequestInterface &$requestInterface, Re
*/
public function migrateLegacyShares(ServerRequestInterface $requestInterface, ResponseInterface &$responseInterface)
{
$this->currentContext = $requestInterface->getAttribute("ctx");
LegacyPubliclet::migrateLegacyMeta(
$requestInterface->getAttribute("ctx"),
$this->currentContext,
$this,
$this->getShareStore(),
$this->getRightsManager(),
Expand Down

0 comments on commit 81567b0

Please sign in to comment.