Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/denho/faved
/ userTableNotEmpty
Method
userTableNotEmpty
models/Repository.php:87–91 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
85
}
86
87
public function userTableNotEmpty(): bool
88
{
89
$stmt = $this->pdo->query(
'SELECT 1 FROM users'
);
90
return (bool)$stmt->fetchColumn();
91
}
92
93
public function createUser(string $username, string $password_hash)
94
{
Callers
8
handle
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
__invoke
Method · 0.80
Calls
no outgoing calls
Tested by
no test coverage detected