ContentHandler: Remove entirely-unused mModelName property
authorKunal Mehta <legoktm@member.fsf.org>
Thu, 8 Sep 2016 06:10:12 +0000 (23:10 -0700)
committerKunal Mehta <legoktm@member.fsf.org>
Thu, 8 Sep 2016 06:10:12 +0000 (23:10 -0700)
This property isn't documented anywhere nor used anywhere.

Change-Id: I37b20260c6abbec49364b31183dd2337be44846b

includes/content/ContentHandler.php

index 9ea4f40..bf4cc6d 100644 (file)
@@ -453,10 +453,6 @@ abstract class ContentHandler {
        public function __construct( $modelId, $formats ) {
                $this->mModelID = $modelId;
                $this->mSupportedFormats = $formats;
-
-               $this->mModelName = preg_replace( '/(Content)?Handler$/', '', get_class( $this ) );
-               $this->mModelName = preg_replace( '/[_\\\\]/', '', $this->mModelName );
-               $this->mModelName = strtolower( $this->mModelName );
        }
 
        /**