Permalink
Browse files

delete token task after deleting subproject

  • Loading branch information...
caseysoftware committed Jan 14, 2017
1 parent 803b337 commit 4047a1260e8cb7c1e3b4208b8b2538b92564f7ff
Showing with 2 additions and 1 deletion.
  1. +2 −1 modules/projects/projects.class.php
@@ -163,8 +163,9 @@ protected function hook_postDelete()
$q->clear();
$q->setDelete('tasks');
$q->addWhere('task_represents_project =' . $this->_old_key);
$q->exec();
parent::hook_preDelete();
parent::hook_postDelete();
}
/**

0 comments on commit 4047a12

Please sign in to comment.