jenkins-bot has submitted this change and it was merged.

Change subject: Remove some presumably dead code
......................................................................


Remove some presumably dead code

Change-Id: I43b27ba14979a7c878605b89d896ed3ae5fe0389
---
M repo/includes/EditEntity.php
1 file changed, 1 insertion(+), 6 deletions(-)

Approvals:
  WikidataJenkins: Verified
  Thiemo Mättig (WMDE): Looks good to me, approved
  jenkins-bot: Verified



diff --git a/repo/includes/EditEntity.php b/repo/includes/EditEntity.php
index 4e8c016..6e8f6ba 100644
--- a/repo/includes/EditEntity.php
+++ b/repo/includes/EditEntity.php
@@ -790,12 +790,7 @@
                        }
                }
 
-               /**
-                * @var Entity $entity
-                */
-               $entity = $this->getNewEntity();
-               $baseRev = $this->getBaseRevision();
-               $base = $baseRev === null ? null : $baseRev->getEntity();
+               $this->getBaseRevision();
 
                return $this->status;
        }

-- 
To view, visit https://gerrit.wikimedia.org/r/153712
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings

Gerrit-MessageType: merged
Gerrit-Change-Id: I43b27ba14979a7c878605b89d896ed3ae5fe0389
Gerrit-PatchSet: 3
Gerrit-Project: mediawiki/extensions/Wikibase
Gerrit-Branch: master
Gerrit-Owner: Jeroen De Dauw <jeroended...@gmail.com>
Gerrit-Reviewer: Thiemo Mättig (WMDE) <thiemo.maet...@wikimedia.de>
Gerrit-Reviewer: WikidataJenkins <wikidata-servi...@wikimedia.de>
Gerrit-Reviewer: jenkins-bot <>

_______________________________________________
MediaWiki-commits mailing list
MediaWiki-commits@lists.wikimedia.org
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to