From 6cdbe47e722f8e77beade6f5c17b5a7adc99b1ec Mon Sep 17 00:00:00 2001 From: Evan Prodromou Date: Wed, 16 Mar 2011 22:54:57 -0400 Subject: [PATCH] add scope flags for Notice --- classes/Notice.php | 4 ++++ 1 file changed, 4 insertions(+) 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); -- 2.39.5