Beispiel #1
0
function mozillaSecondEmailDelete()
{
    if (!isset($_GET["uidUser"])) {
        $ct = new contacts($_SESSION["uid"], $_GET["employeeNumber"]);
    } else {
        $ct = new contacts($_SESSION["uid"], null, $_GET["uidUser"]);
    }
    $tpl = new templates();
    if (!$ct->mozillaSecondEmailDel($_GET["mozillaSecondEmailDelete"])) {
        echo $tpl->_ENGINE_parse_body("{$_GET["mozillaSecondEmail"]} {failed}\n");
    } else {
        echo $tpl->_ENGINE_parse_body("{$_GET["mozillaSecondEmail"]} {success}\n");
    }
}