diff --git a/app/Model/ProjectModel.php b/app/Model/ProjectModel.php index 82aae2220..d993fb964 100644 --- a/app/Model/ProjectModel.php +++ b/app/Model/ProjectModel.php @@ -593,21 +593,6 @@ class ProjectModel extends Base ->save(array('is_public' => 0, 'token' => '')); } - /** - * Return the task count for a project - * - * @access public - * @param integer $project_id Project id - * @return integer - */ - public function taskCount($project_id) - { - return $this->db->table(self::TABLE) - ->eq('id', $project_id)->exists() - ->join(ColumnModel::TABLE, 'id', 'project_id') - ->count(); - } - /** * Change usage of global tags *