From a94311363fee7851c59e2de7ff9ade7af0e18ae8 Mon Sep 17 00:00:00 2001 From: Kunal Mehta Date: Wed, 7 Sep 2016 23:10:12 -0700 Subject: [PATCH] ContentHandler: Remove entirely-unused mModelName property This property isn't documented anywhere nor used anywhere. Change-Id: I37b20260c6abbec49364b31183dd2337be44846b --- includes/content/ContentHandler.php | 4 ---- 1 file changed, 4 deletions(-) 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 ); } /** -- 2.20.1