From: Evan Prodromou Date: Sat, 17 May 2008 17:21:10 +0000 (-0400) Subject: add stub email canonicalizer X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=b2284763e21e7d455ddde4a48e6628c2e39683ba;p=quix0rs-gnu-social.git add stub email canonicalizer Added a stub function to stand in for eventual email canonicalizer. darcs-hash:20080517172110-84dde-d2c83cb5e88693100c444b0ed088eed327f8a77d.gz --- 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