forked from GNUsocial/gnu-social
Add activity.php to common includes
This commit is contained in:
parent
cbf6ebae01
commit
1f859e72a2
@ -476,9 +476,6 @@ class ActivityObject
|
||||
return $object;
|
||||
}
|
||||
|
||||
/**
|
||||
* @fixme missing avatar, bio info, etc
|
||||
*/
|
||||
static function fromProfile($profile)
|
||||
{
|
||||
$object = new ActivityObject();
|
||||
@ -498,9 +495,6 @@ class ActivityObject
|
||||
return $object;
|
||||
}
|
||||
|
||||
/**
|
||||
* @fixme missing avatar, bio info, etc
|
||||
*/
|
||||
function asString($tag='activity:object')
|
||||
{
|
||||
$xs = new XMLStringer(true);
|
||||
|
@ -123,6 +123,7 @@ require_once INSTALLDIR.'/lib/util.php';
|
||||
require_once INSTALLDIR.'/lib/action.php';
|
||||
require_once INSTALLDIR.'/lib/mail.php';
|
||||
require_once INSTALLDIR.'/lib/subs.php';
|
||||
require_once INSTALLDIR.'/lib/activity.php';
|
||||
|
||||
require_once INSTALLDIR.'/lib/clientexception.php';
|
||||
require_once INSTALLDIR.'/lib/serverexception.php';
|
||||
|
Loading…
Reference in New Issue
Block a user