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:
87e5fc8
)
Followup r96180: remove unused global $wgCanonicalServer
author
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 5 Sep 2011 10:55:54 +0000
(10:55 +0000)
committer
Roan Kattouw
<catrope@users.mediawiki.org>
Mon, 5 Sep 2011 10:55:54 +0000
(10:55 +0000)
includes/Title.php
patch
|
blob
|
history
diff --git
a/includes/Title.php
b/includes/Title.php
index
8d1119c
..
4e21f51
100644
(file)
--- a/
includes/Title.php
+++ b/
includes/Title.php
@@
-1044,7
+1044,6
@@
class Title {
* @return string The URL
*/
public function getCanonicalURL( $query = '', $variant = false ) {
- global $wgCanonicalServer;
$url = wfExpandUrl( $this->getLocalURL( $query, $variant ) . $this->getFragmentForURL(), PROTO_CANONICAL );
wfRunHooks( 'GetCanonicalURL', array( &$this, &$url, $query, $variant ) );
return $url;