From: Kunal Mehta Date: Tue, 2 Sep 2014 00:57:24 +0000 (-0700) Subject: Remove JSONContentHandler::$contentClass X-Git-Tag: 1.31.0-rc.0~14087^2 X-Git-Url: https://git.cyclocoop.org/%27.WWW_URL.%27admin/?a=commitdiff_plain;h=cbd954f011318b88a6cce95d77bff17f397aeed7;p=lhc%2Fweb%2Fwiklou.git Remove JSONContentHandler::$contentClass Was deprecated in I70f1a3291. Change-Id: I92d0fae344e158b9c46f2297c78a2e65fc3516db --- 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'; } /**