Yurik has uploaded a new change for review.

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

Change subject: Use constructor param for the content class
......................................................................

Use constructor param for the content class

Change-Id: I5746fa3af70837858bffd10da9b5165fb1a5a10e
---
M includes/content/MassMessageListContentHandler.php
1 file changed, 1 insertion(+), 8 deletions(-)


  git pull ssh://gerrit.wikimedia.org:29418/mediawiki/extensions/MassMessage 
refs/changes/98/161898/1

diff --git a/includes/content/MassMessageListContentHandler.php 
b/includes/content/MassMessageListContentHandler.php
index c2eadd2..c12aaa0 100644
--- a/includes/content/MassMessageListContentHandler.php
+++ b/includes/content/MassMessageListContentHandler.php
@@ -6,7 +6,7 @@
         * @param string $modelId
         */
        public function __construct( $modelId = 'MassMessageListContent' ) {
-               parent::__construct( $modelId );
+               parent::__construct( $modelId, 'MassMessageListContent' );
        }
 
        /**
@@ -29,13 +29,6 @@
         */
        public function makeEmptyContent() {
                return new MassMessageListContent( 
'{"description":"","targets":[]}' );
-       }
-
-       /**
-        * @return string
-        */
-       protected function getContentClass() {
-               return 'MassMessageListContent';
        }
 
        /**

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

Gerrit-MessageType: newchange
Gerrit-Change-Id: I5746fa3af70837858bffd10da9b5165fb1a5a10e
Gerrit-PatchSet: 1
Gerrit-Project: mediawiki/extensions/MassMessage
Gerrit-Branch: master
Gerrit-Owner: Yurik <yu...@wikimedia.org>

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

Reply via email to