From 1e49615c8c433c1f9c2f2ade1762411f2f3eb091 Mon Sep 17 00:00:00 2001 From: Thomas Lange Date: Sat, 4 Mar 2017 22:19:02 +0100 Subject: Factory method "buildBySlug" is now defined in the "ItemFactory" class. --- core/namespace/User/Factory.php | 4 ---- 1 file changed, 4 deletions(-) (limited to 'core/namespace/User/Factory.php') diff --git a/core/namespace/User/Factory.php b/core/namespace/User/Factory.php index 80e6b49..e352368 100644 --- a/core/namespace/User/Factory.php +++ b/core/namespace/User/Factory.php @@ -2,10 +2,6 @@ namespace User; class Factory extends \ItemFactory { - public static function buildBySlug($slug): \Item { - return self::build(Item::getIDByField('slug', $slug, \Application::getDatabase())); - } - public static function buildByUsername($username): \Item { return self::build(Item::getIDByField('username', $username, \Application::getDatabase())); } -- cgit v1.2.3