summaryrefslogtreecommitdiffstats
path: root/app/controller/deleteacct.control.php
blob: 176b7bf2540dbf3a0bc149ce6e2b2dac1d300709 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
<?php

require_once "class/controller.class.php";
require_once "model/deleteacct.mod.php";

/*
 * Deleteacct is used to delete user accounts, requiring all requests to
 * correctly enter the user's password
 */
class Deleteacct extends Controller
{
    /*
     * Controller implementation
     */
    function handle($argv)
    {
        $mod = new DeleteacctModel();
        $this->action_default($mod);
    }

    function action_default($mod)
    {
        $mod->deflt();
        include "view/deleteacct/default.view.php";
    }
}

?>