Followup to r81507: Call to undefined method StandardTemplate::showEmailUser()
authorMarcin Cieślak <saper@users.mediawiki.org>
Mon, 14 Mar 2011 17:59:31 +0000 (17:59 +0000)
committerMarcin Cieślak <saper@users.mediawiki.org>
Mon, 14 Mar 2011 17:59:31 +0000 (17:59 +0000)
Fixes:

PHP Fatal error:  Call to undefined method StandardTemplate::showEmailUser() in skins/Standard.php on line 262

skins/Standard.php

index a8f304f..908d462 100644 (file)
@@ -259,7 +259,7 @@ class StandardTemplate extends LegacyTemplate {
                                if( $id || $ip ){
                                        $s .= $sep . $this->userContribsLink();
                                }
-                               if( $this->showEmailUser( $id ) ) {
+                               if( $this->getSkin()->showEmailUser( $id ) ) {
                                        $s .= $sep . $this->emailUserLink();
                                }
                        }