diff options
Diffstat (limited to 'app/model/datamods.php')
-rw-r--r-- | app/model/datamods.php | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/app/model/datamods.php b/app/model/datamods.php index b658314..8eaff23 100644 --- a/app/model/datamods.php +++ b/app/model/datamods.php @@ -17,6 +17,7 @@ require_once "class/agent.class.php"; require_once "class/user.class.php"; require_once "class/group.class.php"; require_once "class/pad.class.php"; +require_once "class/stage.class.php"; /* * Action: dm-group-add - New group modal @@ -54,6 +55,11 @@ if (isAction("dm-pad-add")) } $pad = pad::initNew($form->name, $owner); + $td = stage::initNew("To Do", $pad); + $ip = stage::initNew("In Progress", $pad); + + $pad->insertStage($td); + $td->insertStage($ip); } ?> |