Skip to content

Commit f55c89d

Browse files
committed
remove dead code
1 parent 0f71ee0 commit f55c89d

File tree

1 file changed

+0
-29
lines changed

1 file changed

+0
-29
lines changed

lib/Controller/Verify/Email.php

-29
Original file line numberDiff line numberDiff line change
@@ -77,35 +77,6 @@ function emailVerifyConfirm($RES, $contact_id)
7777

7878
return $RES->withRedirect('/verify?' . http_build_query($_GET));
7979

80-
// $data = $this->data;
81-
// $data['Page']['title'] = 'Email Verification';
82-
// $data['info'] = 'Email address has been validated';
83-
// if (empty($_SESSION['Contact'])) {
84-
// $data['foot'] = '<div class="r"><a class="btn btn-outline-primary" href="/auth/open">Sign In <i class="icon icon-arrow-right"></i></a></div>';
85-
// } else {
86-
// $data['foot'] = '<div class="r"><a class="btn btn-outline-primary" href="/auth/init">Continue <i class="icon icon-arrow-right"></i></a></div>';
87-
// }
88-
89-
// // Set Contact Model on Response
90-
// $RES = $RES->withAttribute('Contact', [
91-
// 'id' => $ARG['contact']['id'],
92-
// 'username' => $ARG['contact']['username'],
93-
// 'flag' => Contact::FLAG_EMAIL_GOOD,
94-
// ]);
95-
96-
// // @deprecated use ACT, is this even the right spot for it?
97-
// // Landed here from Password Reset?
98-
// // No prompt, just show verifications
99-
// if ('password-reset' == $ARG['source']) {
100-
// unset($ARG['intent']);
101-
// unset($ARG['source']);
102-
// $x = _encrypt(json_encode($ARG), $_SESSION['crypt-key']);
103-
// return $RES->withRedirect('/account/verify?_=' . $x);
104-
// }
105-
106-
// $html = $this->render('done.php', $data);
107-
// return $RES->write($html);
108-
10980
}
11081

11182
/**

0 commit comments

Comments
 (0)