Legoktm has uploaded a new change for review.

  https://gerrit.wikimedia.org/r/157771

Change subject: Use TextContentHandler::getContentClass()
......................................................................

Use TextContentHandler::getContentClass()

See I70f1a3291 in core

Change-Id: I1006be1827531e195930cc4d8a3ea9e415291879
---
M includes/JsonSchemaContentHandler.php
1 file changed, 3 insertions(+), 1 deletion(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/EventLogging 
refs/changes/71/157771/1

diff --git a/includes/JsonSchemaContentHandler.php 
b/includes/JsonSchemaContentHandler.php
index daf7299..4ed1d74 100644
--- a/includes/JsonSchemaContentHandler.php
+++ b/includes/JsonSchemaContentHandler.php
@@ -15,5 +15,7 @@
                parent::__construct( $modelId, array( CONTENT_FORMAT_JSON ) );
        }
 
-       protected $contentClass = 'JsonSchemaContent';
+       protected function getContentClass() {
+               return 'JsonSchemaContent';
+       }
 }

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I1006be1827531e195930cc4d8a3ea9e415291879
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/EventLogging
Gerrit-Branch: master
Gerrit-Owner: Legoktm <[email protected]>

_______________________________________________
MediaWiki-commits mailing list
[email protected]
https://lists.wikimedia.org/mailman/listinfo/mediawiki-commits

Reply via email to