From b2284763e21e7d455ddde4a48e6628c2e39683ba Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Sat, 17 May 2008 13:21:10 -0400 Subject: [PATCH] add stub email canonicalizer Added a stub function to stand in for eventual email canonicalizer. darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz --- lib/common.php | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/lib/common.php b/lib/common.php index 5eed1bb81b..eeffb90c1c 100644 --- a/lib/common.php +++ b/lib/common.php @@ -236,6 +236,13 @@ function common_canonical_nickname($nickname) { return strtolower($nickname); } +# get canonical version of email for comparison +function common_canonical_email($email) { + # XXX: canonicalize UTF-8 + # XXX: lcase the domain part + return $email; +} + function common_render_content($text) { # XXX: @ messages # XXX: # tags -- 2.39.5