From cbd954f011318b88a6cce95d77bff17f397aeed7 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Mon, 1 Sep 2014 17:57:24 -0700 Subject: [PATCH] Remove JSONContentHandler::$contentClass Was deprecated in I70f1a3291. Change-Id: I92d0fae344e158b9c46f2297c78a2e65fc3516db --- includes/content/JSONContentHandler.php | 14 +------------- 1 file changed, 1 insertion(+), 13 deletions(-) diff --git a/includes/content/JSONContentHandler.php b/includes/content/JSONContentHandler.php index 33f203661c..b0b7aaea48 100644 --- a/includes/content/JSONContentHandler.php +++ b/includes/content/JSONContentHandler.php @@ -13,27 +13,15 @@ */ class JSONContentHandler extends TextContentHandler { - /** - * The class name of objects that should be created - * - * @deprecated override getContentClass instead - * - * @var string - */ - protected $contentClass = 'JSONContent'; - public function __construct( $modelId = CONTENT_MODEL_JSON ) { parent::__construct( $modelId, array( CONTENT_FORMAT_JSON ) ); } /** - * Temporary back-compat until extensions - * are updated to override this - * * @return string */ protected function getContentClass() { - return $this->contentClass; + return 'JSONContent'; } /** -- 2.20.1