X-Git-Url: https://git.heureux-cyclage.org/w/index.php?a=blobdiff_plain;f=includes%2Fapi%2FApiCSPReport.php;h=5a0edfcd82ddc9cedecd82d0ee9f39bd3eee0c1b;hb=53779578b44575ef91feb3fad488f09b52f737d7;hp=407ae71fbb2b35b17624bdba6cf3b90c2a14bf4f;hpb=5ce43a98613303fac6bad6e6c7663c478f726cd2;p=lhc%2Fweb%2Fwiklou.git diff --git a/includes/api/ApiCSPReport.php b/includes/api/ApiCSPReport.php index 407ae71fbb..5a0edfcd82 100644 --- a/includes/api/ApiCSPReport.php +++ b/includes/api/ApiCSPReport.php @@ -85,7 +85,6 @@ class ApiCSPReport extends ApiBase { */ private function getFlags( $report ) { $reportOnly = $this->getParameter( 'reportonly' ); - $userAgent = $this->getRequest()->getHeader( 'user-agent' ); $source = $this->getParameter( 'source' ); $falsePositives = $this->getConfig()->get( 'CSPFalsePositiveUrls' );