forked from GNUsocial/gnu-social
[DB] Remove unique constraint from GSActor.nickname and fix register and related functionality
This commit is contained in:
@@ -149,6 +149,12 @@ abstract class DB
|
||||
}
|
||||
}
|
||||
|
||||
public static function count(string $table, array $criteria)
|
||||
{
|
||||
$repo = self::getRepository($table);
|
||||
return $repo->count($table, $criteria);
|
||||
}
|
||||
|
||||
/**
|
||||
* Intercept static function calls to allow refering to entities
|
||||
* without writing the namespace (which is deduced from the call
|
||||
|
||||
Reference in New Issue
Block a user