From: Zach Copley Date: Tue, 23 Feb 2010 01:47:40 +0000 (-0800) Subject: Add activity.php to common includes X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=1f859e72a205807ca15cc8e22e82e8e112979de9;p=quix0rs-gnu-social.git Add activity.php to common includes --- diff --git a/lib/activity.php b/lib/activity.php index d91e04260c..3689dac385 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 b95cd11752..68723955ec 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';