From: Evan Prodromou Date: Fri, 18 Jul 2008 04:51:50 +0000 (-0400) Subject: add create stamp to subscription in api X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=4d74fea66b28405d07330ff93181b02a236a0c9d;p=quix0rs-gnu-social.git add create stamp to subscription in api darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz --- diff --git a/actions/twitapifriendships.php b/actions/twitapifriendships.php index 5d3bde8e96..eaef6966c8 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) {