]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
add scope flags for Notice
authorEvan Prodromou <evan@status.net>
Thu, 17 Mar 2011 02:54:57 +0000 (22:54 -0400)
committerEvan Prodromou <evan@status.net>
Tue, 22 Mar 2011 15:56:28 +0000 (11:56 -0400)
classes/Notice.php

index b432ad1ea53a4e12bb40e3c28fa2206244048744..2b437c79f469eec45a9bee7e20485467cc533141 100644 (file)
@@ -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);