From c0dc531ebefd8912819f3b6c8bda1fed3c7e750c Mon Sep 17 00:00:00 2001 From: Evgeny Zinoviev Date: Wed, 31 Jan 2024 06:11:00 +0300 Subject: make it simple, but not simpler --- model/Tag.php | 24 ------------------------ 1 file changed, 24 deletions(-) delete mode 100644 model/Tag.php (limited to 'model/Tag.php') diff --git a/model/Tag.php b/model/Tag.php deleted file mode 100644 index a8324f7..0000000 --- a/model/Tag.php +++ /dev/null @@ -1,24 +0,0 @@ -tag.'/'; - } - - public function getPostsCount(bool $is_admin): int { - return $is_admin ? $this->postsCount : $this->visiblePostsCount; - } - - public function __toString(): string { - return $this->tag; - } - -} -- cgit v1.2.3