}
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);
}
/**