Remove unused and invalid method in ProjectModel

This commit is contained in:
Frédéric Guillot 2023-09-27 19:57:27 -07:00 committed by Frédéric Guillot
parent ebdca9cbef
commit a8149d798a
1 changed files with 0 additions and 15 deletions

View File

@ -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
*