diff options
author | Thomas Lange <code@nerdmind.de> | 2017-03-04 22:19:02 +0100 |
---|---|---|
committer | Thomas Lange <code@nerdmind.de> | 2017-03-04 22:21:54 +0100 |
commit | 1e49615c8c433c1f9c2f2ade1762411f2f3eb091 (patch) | |
tree | 506e2342640ecb9e7c4306a593497974dc2fcbbe /core/namespace/User/Factory.php | |
parent | 80b320f0ca1d4dd1e8096f155334f0419a5733d4 (diff) | |
download | blog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.tar.gz blog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.tar.xz blog-1e49615c8c433c1f9c2f2ade1762411f2f3eb091.zip |
Factory method "buildBySlug" is now defined in the "ItemFactory" class.
Diffstat (limited to 'core/namespace/User/Factory.php')
-rw-r--r-- | core/namespace/User/Factory.php | 4 |
1 files changed, 0 insertions, 4 deletions
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())); } |