Anomie has uploaded a new change for review. (
https://gerrit.wikimedia.org/r/386005 )
Change subject: LocalFile: Fix copy-paste error
......................................................................
LocalFile: Fix copy-paste error
No idea how that got through.
Change-Id: Ic7eebe624434005ff962f19eaa85cdf40e131284
---
M includes/filerepo/file/LocalFile.php
1 file changed, 2 insertions(+), 2 deletions(-)
git pull ssh://gerrit.wikimedia.org:29418/mediawiki/core
refs/changes/05/386005/1
diff --git a/includes/filerepo/file/LocalFile.php
b/includes/filerepo/file/LocalFile.php
index 410a794..a36bec3 100644
--- a/includes/filerepo/file/LocalFile.php
+++ b/includes/filerepo/file/LocalFile.php
@@ -2463,7 +2463,7 @@
}
function doDBDeletes() {
- global $wgUpdateCompatibleMetadata;
+ global $wgCommentTableSchemaMigrationStage;
$dbw = $this->file->repo->getMasterDB();
list( $oldRels, $deleteCurrent ) = $this->getOldRels();
@@ -2478,7 +2478,7 @@
if ( $deleteCurrent ) {
$dbw->delete( 'image', [ 'img_name' =>
$this->file->getName() ], __METHOD__ );
- if ( $wgUpdateCompatibleMetadata > MIGRATION_OLD ) {
+ if ( $wgCommentTableSchemaMigrationStage >
MIGRATION_OLD ) {
$dbw->delete(
'image_comment_temp', [
'imgcomment_name' => $this->file->getName() ], __METHOD__
);
--
To view, visit https://gerrit.wikimedia.org/r/386005
To unsubscribe, visit https://gerrit.wikimedia.org/r/settings
Gerrit-MessageType: newchange
Gerrit-Change-Id: Ic7eebe624434005ff962f19eaa85cdf40e131284
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/core
Gerrit-Branch: master
Gerrit-Owner: Anomie <[email protected]>
_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits