summaryrefslogtreecommitdiff
path: root/skins/Vector/SkinVector.php
diff options
context:
space:
mode:
Diffstat (limited to 'skins/Vector/SkinVector.php')
-rw-r--r--skins/Vector/SkinVector.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/skins/Vector/SkinVector.php b/skins/Vector/SkinVector.php
index 565c64bb..f5e3634c 100644
--- a/skins/Vector/SkinVector.php
+++ b/skins/Vector/SkinVector.php
@@ -39,8 +39,6 @@ class SkinVector extends SkinTemplate {
$this->vectorConfig = ConfigFactory::getDefaultInstance()->makeConfig( 'vector' );
}
- protected static $bodyClasses = array( 'vector-animateLayout' );
-
/**
* Initializes output page and sets up skin-specific parameters
* @param OutputPage $out Object to initialize
@@ -79,18 +77,4 @@ class SkinVector extends SkinTemplate {
public function setupTemplate( $classname, $repository = false, $cache_dir = false ) {
return new $classname( $this->vectorConfig );
}
-
- /**
- * Adds classes to the body element.
- *
- * @param OutputPage $out
- * @param array &$bodyAttrs Array of attributes that will be set on the body element
- */
- function addToBodyAttributes( $out, &$bodyAttrs ) {
- if ( isset( $bodyAttrs['class'] ) && strlen( $bodyAttrs['class'] ) > 0 ) {
- $bodyAttrs['class'] .= ' ' . implode( ' ', static::$bodyClasses );
- } else {
- $bodyAttrs['class'] = implode( ' ', static::$bodyClasses );
- }
- }
}