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:
9c77425
)
Correct content now ... :-(
author
Roland Haeder
<roland@mxchange.org>
Fri, 22 May 2015 03:18:35 +0000
(
05:18
+0200)
committer
Roland Haeder
<roland@mxchange.org>
Fri, 22 May 2015 03:18:35 +0000
(
05:18
+0200)
Signed-off-by: Roland Haeder <roland@mxchange.org>
classes/Notice.php
patch
|
blob
|
history
diff --git
a/classes/Notice.php
b/classes/Notice.php
index 15e50acbe0de0c748199e6fc606f1c3125299844..83d5d5fd577e73cb953ccf31c45915e1c900b8f2 100644
(file)
--- a/
classes/Notice.php
+++ b/
classes/Notice.php
@@
-2667,11
+2667,8
@@
class Notice extends Managed_DataObject
}
public function isPrivateScope () {
- return (
- ($this->is_local === Notice::LOCAL_NONPUBLIC) ||
- ($this->is_local === Notice::GATEWAY) ||
- ($this->is_local === Notice::REMOTE)
- );
+ return ($this->scope != Notice::SITE_SCOPE &&
+ $this->scope != Notice::PUBLIC_SCOPE);
}
/**