Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exteand deletes worker #8274

Open
wants to merge 16 commits into
base: 1.5.x
Choose a base branch
from
Prev Previous commit
Next Next commit
response fix
  • Loading branch information
shimonewman committed Jun 13, 2024
commit 65ec08a01883217fe161fdd09d026201fb6f7b79
4 changes: 2 additions & 2 deletions src/Appwrite/Platform/Workers/Deletes.php
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public function action(Message $message, Database $dbForConsole, callable $getPr
$this->deleteDeployment($getProjectDB, $deviceForFunctions, $deviceForBuilds, $document, $project);
break;
case DELETE_TYPE_USERS:
$this->deleteUser($getProjectDB, $document, $project, $dbForConsole);
$this->deleteUser($getProjectDB, $document, $project);
break;
case DELETE_TYPE_TEAMS:
$this->deleteMemberships($getProjectDB, $document, $project);
Expand Down Expand Up @@ -574,7 +574,7 @@ protected function deleteProject(Database $dbForConsole, callable $getProjectDB
* @return void
* @throws Exception
*/
protected function deleteUser(callable $getProjectDB, Document $document, Document $project, Database $dbForConsole): void
protected function deleteUser(callable $getProjectDB, Document $document, Document $project): void
{

$userId = $document->getId();
Expand Down