Closed Bug 389286 Opened 18 years ago Closed 18 years ago

Joey Server - refactor SMS code into a component

Categories

(Mozilla Labs :: Joey, defect)

x86
macOS
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: dougt, Assigned: clouserw)

Details

in the user_controller this is a bunch of code to figure out how to SMS the user, then send a message to the user. It is copied in at least two places. If we want to reuse this anywhere else, (which we might in the uploads controller), we should move this code into a component we should expose something like: function sendSMS($user, $message)
Summary: server - refactor SMS code into a component → Joey Server - refactor SMS code into a component
Doug, this is not in place anymore right? do we use sendSMS Web Service from a sms gateway service here?
that is separate -- basically what I am talking about here is factoring out our SMS logic (like getting the user's operator and phone number from the table, looking up the operators domain, and composing an email address).
fixed it. r6686. basically you can do this: $this->Sms->sendCurrentUserSMS("Subject", "Message");
Status: NEW → RESOLVED
Closed: 18 years ago
Resolution: --- → FIXED
You need to log in before you can comment on or make changes to this bug.