From: Evan Prodromou Date: Thu, 17 Mar 2011 02:54:57 +0000 (-0400) Subject: add scope flags for Notice X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=6cdbe47e722f8e77beade6f5c17b5a7adc99b1ec;p=quix0rs-gnu-social.git add scope flags for Notice --- diff --git a/classes/Notice.php b/classes/Notice.php index b432ad1ea5..2b437c79f4 100644 --- a/classes/Notice.php +++ b/classes/Notice.php @@ -90,6 +90,10 @@ class Notice extends Memcached_DataObject const LOCAL_NONPUBLIC = -1; const GATEWAY = -2; + const SITE_SCOPE = 1; + const ADDRESSEE_SCOPE = 2; + const FOLLOWER_SCOPE = 4; + function getProfile() { $profile = Profile::staticGet('id', $this->profile_id);