add create stamp to subscription in api

darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz
This commit is contained in:
Evan Prodromou 2008-07-18 00:51:50 -04:00
parent fe77b3445c
commit 4d74fea66b

View File

@ -50,6 +50,7 @@ class TwitapifriendshipsAction extends TwitterapiAction {
$sub->subscriber = $user->id; $sub->subscriber = $user->id;
$sub->subscribed = $other->id; $sub->subscribed = $other->id;
$sub->created = DB_DataObject_Cast::dateTime(); # current time
$result = $sub->insert(); $result = $sub->insert();