* (bug 20720) moved userjs and sitejs to after core scripts and before all extension...
[lhc/web/wiklou.git] / includes / SkinTemplate.php
index 2423c19..cbf9b14 100644 (file)
@@ -99,20 +99,6 @@ class SkinTemplate extends Skin {
                $out->addStyle( 'common/commonPrint.css', 'print' );
        }
 
-       /**
-        * Add specific JavaScript the base Skin class.
-        * FIXME: not called from anywhere
-        */
-       function setupSkinUserJs( OutputPage $out ) {
-               global $wgUseSiteJs;
-               if( $wgUseSiteJs ) {
-                       $jsCache = $this->loggedin ? '&smaxage=0' : '';
-                       $siteGenScriptFile = self::makeUrl( '-',
-                               "action=raw$jsCache&gen=js&useskin=" . urlencode( $this->getSkinName() ) );
-                       $this->jsvarurl = $siteGenScriptFile;
-               }
-       }
-
        /**
         * Create the template engine object; we feed it a bunch of data
         * and eventually it spits out some HTML. Should have interface