public static function banUser($id)
    {
        global $PPHP;
        $db = $PPHP['db'];
        $db->exec("DELETE FROM acl_users WHERE userId=?", array($id));
        $db->exec("DELETE FROM users_roles WHERE userId=?", array($id));
        return true;
    }