X-Git-Url: https://git.heureux-cyclage.org/?a=blobdiff_plain;f=includes%2Fapi%2FApiCSPReport.php;h=5a0edfcd82ddc9cedecd82d0ee9f39bd3eee0c1b;hb=f0c8cbc6d9bc05c1aa1cfc89f13bee3514c947c3;hp=407ae71fbb2b35b17624bdba6cf3b90c2a14bf4f;hpb=552623a80c80b5eef7b4c2edee8d5e5e1a7cd404;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' );