Merge branch 'nightly' of git.gnu.io:gnu/gnu-social into nightly

This commit is contained in:
Mikael Nordfeldth 2015-11-05 16:07:42 +01:00
commit 0e32729e59
2 changed files with 7 additions and 0 deletions

View File

@ -33,6 +33,12 @@ class User_group extends Managed_DataObject
/* the code above is auto generated do not remove the tag below */
###END_AUTOCODE
public function getObjectType()
{
return ActivityObject::GROUP;
}
public static function schemaDef()
{
return array(

View File

@ -138,6 +138,7 @@ class TwitterImport
$notice->profile_id = $profile->id;
$notice->uri = $statusUri;
$notice->url = $statusUri;
$notice->verb = ActivityVerb::POST;
$notice->created = strftime(
'%Y-%m-%d %H:%M:%S',
strtotime($status->created_at)