]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add create stamp to subscription in api
authorEvan Prodromou <evan@prodromou.name>
Fri, 18 Jul 2008 04:51:50 +0000 (00:51 -0400)
committerEvan Prodromou <evan@prodromou.name>
Fri, 18 Jul 2008 04:51:50 +0000 (00:51 -0400)
darcs-hash:20080718045150-84dde-8fda088ea35c20d23ae86a9c61189545754403b2.gz

actions/twitapifriendships.php

index 5d3bde8e96831f9b0b350a8897bf142da308c1a8..eaef6966c8084d1b8f2ac6b0e192323966825397 100644 (file)
@@ -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) {