add create stamp to subscription in api
darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz
This commit is contained in:
parent
fe77b3445c
commit
4d74fea66b
|
@ -50,7 +50,8 @@ class TwitapifriendshipsAction extends TwitterapiAction {
|
|||
|
||||
$sub->subscriber = $user->id;
|
||||
$sub->subscribed = $other->id;
|
||||
|
||||
$sub->created = DB_DataObject_Cast::dateTime(); # current time
|
||||
|
||||
$result = $sub->insert();
|
||||
|
||||
if (!$result) {
|
||||
|
|
Loading…
Reference in New Issue
Block a user