don't leak private notices to facebook
This commit is contained in:
parent
683bd3f2b5
commit
cbe003eb38
|
@ -455,7 +455,7 @@ ENDOFSCRIPT;
|
|||
*/
|
||||
function onStartEnqueueNotice($notice, &$transports)
|
||||
{
|
||||
if (self::hasApplication() && $notice->isLocal()) {
|
||||
if (self::hasApplication() && $notice->isLocal() && $notice->inScope(null)) {
|
||||
array_push($transports, 'facebook');
|
||||
}
|
||||
return true;
|
||||
|
|
Loading…
Reference in New Issue
Block a user