Remove JSONContentHandler::$contentClass
authorKunal Mehta <legoktm@gmail.com>
Tue, 2 Sep 2014 00:57:24 +0000 (17:57 -0700)
committerKunal Mehta <legoktm@gmail.com>
Sun, 7 Sep 2014 05:06:19 +0000 (22:06 -0700)
Was deprecated in I70f1a3291.

Change-Id: I92d0fae344e158b9c46f2297c78a2e65fc3516db

includes/content/JSONContentHandler.php

index 33f2036..b0b7aae 100644 (file)
  */
 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';
        }
 
        /**