"Remove dependency" implemented
Added a link to dependency views which causes dependencies to be removed after a confirmation page.
This commit is contained in:
parent
ba3fcc2470
commit
bbf2c4a13c
6 changed files with 116 additions and 4 deletions
includes/t-data
|
@ -231,4 +231,10 @@ class DAO_Tasks
|
|||
return $result[0]->error;
|
||||
}
|
||||
|
||||
public function deleteDependency( $from , $to )
|
||||
{
|
||||
$this->query( 'DELETE FROM task_dependencies WHERE task_id = $1 AND task_id_depends = $2' )
|
||||
->execute( $from , $to );
|
||||
}
|
||||
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue