X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=blobdiff_plain;f=includes%2Fapi%2FApiCSPReport.php;h=5a0edfcd82ddc9cedecd82d0ee9f39bd3eee0c1b;hb=444f5838afc627eccb102d3d229fe928998a3d9f;hp=407ae71fbb2b35b17624bdba6cf3b90c2a14bf4f;hpb=366b6bb86ba4d20c0f4bfa3b0e9d2de84ffe848b;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' );