Lucas Werkmeister (WMDE) has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/349948 )
Change subject: Remove unused argument
......................................................................
Remove unused argument
ConstraintRepository does not declare a constructor, so the argument is
ignored and should be removed to avoid the impression that it is used.
Change-Id: I3d38e53cf15805265464ca5df22a071a5241033f
---
M includes/ConstraintReportFactory.php
1 file changed, 1 insertion(+), 1 deletion(-)
git pull
ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/WikibaseQualityConstraints
refs/changes/48/349948/1
diff --git a/includes/ConstraintReportFactory.php
b/includes/ConstraintReportFactory.php
index 2c6ccc3..d63d968 100644
--- a/includes/ConstraintReportFactory.php
+++ b/includes/ConstraintReportFactory.php
@@ -184,7 +184,7 @@
*/
public function getConstraintRepository() {
if ( $this->constraintRepository === null ) {
- $this->constraintRepository = new ConstraintRepository(
CONSTRAINT_TABLE );
+ $this->constraintRepository = new
ConstraintRepository();
}
return $this->constraintRepository;
--
To view, visit https://gerrit.wikimedia.org/r/349948
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: I3d38e53cf15805265464ca5df22a071a5241033f
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/WikibaseQualityConstraints
Gerrit-Branch: master
Gerrit-Owner: Lucas Werkmeister (WMDE) <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits