Add activity.php to common includes

This commit is contained in:
Zach Copley 2010-02-22 17:47:40 -08:00
parent cbf6ebae01
commit 1f859e72a2
2 changed files with 1 additions and 6 deletions

View File

@ -476,9 +476,6 @@ class ActivityObject
return $object; return $object;
} }
/**
* @fixme missing avatar, bio info, etc
*/
static function fromProfile($profile) static function fromProfile($profile)
{ {
$object = new ActivityObject(); $object = new ActivityObject();
@ -498,9 +495,6 @@ class ActivityObject
return $object; return $object;
} }
/**
* @fixme missing avatar, bio info, etc
*/
function asString($tag='activity:object') function asString($tag='activity:object')
{ {
$xs = new XMLStringer(true); $xs = new XMLStringer(true);

View File

@ -123,6 +123,7 @@ require_once INSTALLDIR.'/lib/util.php';
require_once INSTALLDIR.'/lib/action.php'; require_once INSTALLDIR.'/lib/action.php';
require_once INSTALLDIR.'/lib/mail.php'; require_once INSTALLDIR.'/lib/mail.php';
require_once INSTALLDIR.'/lib/subs.php'; require_once INSTALLDIR.'/lib/subs.php';
require_once INSTALLDIR.'/lib/activity.php';
require_once INSTALLDIR.'/lib/clientexception.php'; require_once INSTALLDIR.'/lib/clientexception.php';
require_once INSTALLDIR.'/lib/serverexception.php'; require_once INSTALLDIR.'/lib/serverexception.php';