Strictify Notice->isPublic()
This commit is contained in:
		@@ -2749,10 +2749,10 @@ class Notice extends Managed_DataObject
 | 
				
			|||||||
        }
 | 
					        }
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    function isPublic()
 | 
					    public function isPublic()
 | 
				
			||||||
    {
 | 
					    {
 | 
				
			||||||
        return (($this->is_local != Notice::LOCAL_NONPUBLIC) &&
 | 
					        $is_local = intval($this->is_local);
 | 
				
			||||||
                ($this->is_local != Notice::GATEWAY));
 | 
					        return !($is_local === Notice::LOCAL_NONPUBLIC || $is_local === Notice::GATEWAY);
 | 
				
			||||||
    }
 | 
					    }
 | 
				
			||||||
 | 
					
 | 
				
			||||||
    /**
 | 
					    /**
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user