Skip to content

Commit

Permalink
Remove duplicated query for email shares
Browse files Browse the repository at this point in the history
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
  • Loading branch information
danxuliu authored and skjnldsv committed Mar 17, 2021
1 parent 517b442 commit 4a0d3cb
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion apps/files_sharing/lib/Controller/ShareAPIController.php
Original file line number Diff line number Diff line change
Expand Up @@ -1591,7 +1591,6 @@ private function getSharesFromNode(string $viewer, $node, bool $reShares): array
IShare::TYPE_GROUP,
IShare::TYPE_LINK,
IShare::TYPE_EMAIL,
IShare::TYPE_EMAIL,
IShare::TYPE_CIRCLE,
IShare::TYPE_ROOM,
IShare::TYPE_DECK
Expand Down
1 change: 0 additions & 1 deletion apps/sharebymail/lib/Capabilities.php
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,6 @@

namespace OCA\ShareByMail;

use OCA\ShareByMail\Settings\SettingsManager;
use OCP\Capabilities\ICapability;
use OCP\Share\IManager;

Expand Down

0 comments on commit 4a0d3cb

Please sign in to comment.