From: Alexandre Emsenhuber Date: Sun, 3 Aug 2008 16:36:45 +0000 (+0000) Subject: Use clone() directly instead of wfClone() X-Git-Tag: 1.31.0-rc.0~46170 X-Git-Url: http://git.cyclocoop.org/%7B%24www_url%7Dadmin/password.php?a=commitdiff_plain;h=8a13e08f7e8b8d94246380942570d8a68896ccd5;p=lhc%2Fweb%2Fwiklou.git Use clone() directly instead of wfClone() --- diff --git a/includes/Linker.php b/includes/Linker.php index 6761231187..cfd7342c19 100644 --- a/includes/Linker.php +++ b/includes/Linker.php @@ -1235,7 +1235,7 @@ class Linker { if ( $local ) { $sectionTitle = Title::newFromText( '#' . $section ); } else { - $sectionTitle = wfClone( $title ); + $sectionTitle = clone( $title ); $sectionTitle->mFragment = $section; } $link = $this->link( $sectionTitle,