projects
/
quix0rs-gnu-social.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
7f74aa6
)
add scope flags for Notice
author
Evan Prodromou
<evan@status.net>
Thu, 17 Mar 2011 02:54:57 +0000
(22:54 -0400)
committer
Evan Prodromou
<evan@status.net>
Tue, 22 Mar 2011 15:56:28 +0000
(11:56 -0400)
classes/Notice.php
patch
|
blob
|
history
diff --git
a/classes/Notice.php
b/classes/Notice.php
index b432ad1ea53a4e12bb40e3c28fa2206244048744..2b437c79f469eec45a9bee7e20485467cc533141 100644
(file)
--- 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);