start sms settings

darcs-hash:20080720193005-84dde-97e098996309550dc98b658923d84620e7715c69.gz
This commit is contained in:
Evan Prodromou
2008-07-20 15:30:05 -04:00
parent f80c8f8ab0
commit 5fd0a788d5
5 changed files with 320 additions and 0 deletions

View File

@@ -1319,4 +1319,10 @@ function common_profile_uri($profile) {
}
# XXX: this is a very bad profile!
return NULL;
}
function common_canonical_sms($sms) {
# strip non-digits
preg_replace('/\D/', '', $sms);
return $sms;
}