diff options
Diffstat (limited to 'core/namespace/Post/Factory.php')
-rw-r--r-- | core/namespace/Post/Factory.php | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/core/namespace/Post/Factory.php b/core/namespace/Post/Factory.php index 34aa5e4..4ad8ac8 100644 --- a/core/namespace/Post/Factory.php +++ b/core/namespace/Post/Factory.php @@ -1,9 +1,5 @@ <?php namespace Post; -class Factory extends \ItemFactory { - public static function buildBySlug($slug): \Item { - return self::build(Item::getIDByField('slug', $slug, \Application::getDatabase())); - } -} +class Factory extends \ItemFactory {} ?>
\ No newline at end of file |