Closed
Bug 389286
Opened 18 years ago
Closed 18 years ago
Joey Server - refactor SMS code into a component
Categories
(Mozilla Labs :: Joey, defect)
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)
Reporter | ||
Updated•18 years ago
|
Summary: server - refactor SMS code into a component → Joey Server - refactor SMS code into a component
Comment 1•18 years ago
|
||
Doug, this is not in place anymore right? do we use sendSMS Web Service from a sms gateway service here?
Reporter | ||
Comment 2•18 years ago
|
||
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).
Reporter | ||
Comment 3•18 years ago
|
||
fixed it. r6686. basically you can do this:
$this->Sms->sendCurrentUserSMS("Subject", "Message");
Reporter | ||
Updated•18 years ago
|
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.
Description
•