dépôts
/
lhc
/
web
/
wiklou.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge "Connect OOjs UI's deprecation warnings to MediaWiki's logging system"
[lhc/web/wiklou.git]
/
includes
/
api
/
ApiCSPReport.php
diff --git
a/includes/api/ApiCSPReport.php
b/includes/api/ApiCSPReport.php
index
407ae71
..
5a0edfc
100644
(file)
--- 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' );
*/
private function getFlags( $report ) {
$reportOnly = $this->getParameter( 'reportonly' );
- $userAgent = $this->getRequest()->getHeader( 'user-agent' );
$source = $this->getParameter( 'source' );
$falsePositives = $this->getConfig()->get( 'CSPFalsePositiveUrls' );
$source = $this->getParameter( 'source' );
$falsePositives = $this->getConfig()->get( 'CSPFalsePositiveUrls' );