Skip to content

Commit 9d3d219

Browse files
committed
Remove from Adapter
1 parent 454b974 commit 9d3d219

1 file changed

Lines changed: 1 addition & 15 deletions

File tree

src/Database/Adapter.php

Lines changed: 1 addition & 15 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,6 @@ abstract class Adapter
2121

2222
protected bool $tenantPerDocument = false;
2323

24-
protected bool $skipPermissions = false;
25-
2624
protected int $timeout = 0;
2725

2826
protected int $inTransaction = 0;
@@ -231,19 +229,6 @@ public function setTenantPerDocument(bool $tenantPerDocument): bool
231229
return true;
232230
}
233231

234-
/**
235-
* Set whether to skip permissions logic
236-
*
237-
* @param bool $tenantPerDocument
238-
*
239-
*/
240-
public function setSkipPermissions(bool $skipPermissions): void
241-
{
242-
$this->skipPermissions = $skipPermissions;
243-
}
244-
245-
246-
247232
/**
248233
* Get Tenant Per Document.
249234
*
@@ -713,6 +698,7 @@ abstract public function createDocuments(string $collection, array $documents):
713698
* @param string $id
714699
* @param Document $document
715700
* @param bool $skipPermissions
701+
*
716702
* @return Document
717703
*/
718704
abstract public function updateDocument(string $collection, string $id, Document $document, bool $skipPermissions): Document;

0 commit comments

Comments
 (0)