Remove JSONContentHandler::$contentClass
[lhc/web/wiklou.git] / 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';
        }
 
        /**