diff options
author | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:51:50 -0400 |
---|---|---|
committer | Evan Prodromou <evan@prodromou.name> | 2008-07-18 00:51:50 -0400 |
commit | 4d74fea66b28405d07330ff93181b02a236a0c9d (patch) | |
tree | 373efb448e01f94216ca0171845f9cca279bcb89 | |
parent | fe77b3445c5721f81e99b292f06f4ff3ab823022 (diff) |
add create stamp to subscription in api
darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz
-rw-r--r-- | actions/twitapifriendships.php | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 5d3bde8e9..eaef6966c 100644 --- a/actions/twitapifriendships.php +++ b/actions/twitapifriendships.php @@ -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) { |