diff options
Diffstat (limited to 'Zotlabs/Entity/Registration.php')
-rw-r--r-- | Zotlabs/Entity/Registration.php | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/Zotlabs/Entity/Registration.php b/Zotlabs/Entity/Registration.php index d210f4d39..e2af8e22b 100644 --- a/Zotlabs/Entity/Registration.php +++ b/Zotlabs/Entity/Registration.php @@ -53,23 +53,6 @@ class Registration } /** - * Find a registration by it's hash. - * - * @param string $hash The hash of the registration to find. - * - * @return Registration|null An initialized Registration object - * if the registration was found, null otherwise. - */ - public static function find_by_hash(string $hash): ?self - { - $reg = q("SELECT * FROM register WHERE reg_hash = '%s' LIMIT 1", - dbesc($hash) - ); - - return $reg ? new self($reg[0], true) : null; - } - - /** * Set the value of a property. * * @param string $name The name of the property, optionally prefixed by `reg_`. |