dépôts
/
lhc
/
web
/
wiklou.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
a0a9a46
)
ContentHandler: Remove entirely-unused mModelName property
author
Kunal Mehta
<legoktm@member.fsf.org>
Thu, 8 Sep 2016 06:10:12 +0000
(23:10 -0700)
committer
Kunal 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
patch
|
blob
|
history
diff --git
a/includes/content/ContentHandler.php
b/includes/content/ContentHandler.php
index
9ea4f40
..
bf4cc6d
100644
(file)
--- 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 );
}
/**