MCPcopy Create free account
hub / github.com/denho/faved / deleteUser

Method deleteUser

models/Repository.php:109–113  ·  view source on GitHub ↗
(int $user_id)

Source from the content-addressed store, hash-verified

107 }
108
109 public function deleteUser(int $user_id)
110 {
111 $stmt = $this->pdo->prepare('DELETE FROM users WHERE id = :user_id');
112 return $stmt->execute([':user_id' => $user_id]);
113 }
114
115 public function updateUsername(int $user_id, string $username)
116 {

Callers 1

__invokeMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected