/** * {@inheritdoc} */ public function getCount($Wheres = '') { if (is_numeric($Wheres)) { deprecated('CommentModel->getCount(int)', 'CommentModel->getCountByDiscussion()'); return $this->getCountByDiscussion($Wheres); } return parent::getCount($Wheres); }
/** * {@inheritdoc} */ public function getCount($Wheres = '') { if (is_numeric($Wheres)) { deprecated('DraftModel->getCount(int)', 'DraftModel->getCountByUser()'); return $this->getCountByUser($Wheres); } return parent::getCount($Wheres); }