Summary

Returns the uid of the owner of a number.

function sms_user_get_uid($number, $status = NULL);

Does not make sense anymore as a phone number could potentially be associated with more than one entity.

The current usage of this function includes:

Proposition

A new method on phone number provider should be added to look up a phone number with a entity type.

Need to double down on enforcing unique phone numbers. (related #1363942: Enforce unique phone numbers)

Comments

dpi created an issue. See original summary.

dpi’s picture

Issue summary: View changes
Related issues: +#1363942: Enforce unique phone numbers
dpi’s picture

Status: Active » Fixed

Committed in 81d7e61

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.