summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorZach Copley <zach@status.net>2010-02-22 17:47:40 -0800
committerZach Copley <zach@status.net>2010-02-22 17:47:40 -0800
commit1f859e72a205807ca15cc8e22e82e8e112979de9 (patch)
tree2125f4bd0ba48199ec3d61f5fa8d4db2d885b8ab /lib
parentcbf6ebae014dace4ab1e8b85b95e1bfffb1580e8 (diff)
Add activity.php to common includes
Diffstat (limited to 'lib')
-rw-r--r--lib/activity.php6
-rw-r--r--lib/common.php1
2 files changed, 1 insertions, 6 deletions
diff --git a/lib/activity.php b/lib/activity.php
index d91e04260..3689dac38 100644
--- a/lib/activity.php
+++ b/lib/activity.php
@@ -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);
diff --git a/lib/common.php b/lib/common.php
index b95cd1175..68723955e 100644
--- a/lib/common.php
+++ b/lib/common.php
@@ -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';