Remove unused and invalid method in ProjectModel
This commit is contained in:
committed by
Frédéric Guillot
parent
ebdca9cbef
commit
a8149d798a
@@ -593,21 +593,6 @@ class ProjectModel extends Base
|
|||||||
->save(array('is_public' => 0, 'token' => ''));
|
->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
|
* Change usage of global tags
|
||||||
*
|
*
|
||||||
|
|||||||
Reference in New Issue
Block a user