From: Kunal Mehta Date: Thu, 8 Sep 2016 06:10:12 +0000 (-0700) Subject: ContentHandler: Remove entirely-unused mModelName property X-Git-Tag: 1.31.0-rc.0~5680^2~1 X-Git-Url: http://git.cyclocoop.org/%24image?a=commitdiff_plain;h=a94311363fee7851c59e2de7ff9ade7af0e18ae8;p=lhc%2Fweb%2Fwiklou.git ContentHandler: Remove entirely-unused mModelName property This property isn't documented anywhere nor used anywhere. Change-Id: I37b20260c6abbec49364b31183dd2337be44846b --- diff --git a/includes/content/ContentHandler.php b/includes/content/ContentHandler.php index 9ea4f40901..bf4cc6d792 100644 --- a/includes/content/ContentHandler.php +++ b/includes/content/ContentHandler.php @@ -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 ); } /**