r95545 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r95544‎ | r95545 | r95546 >
Date:23:22, 25 August 2011
Author:reedy
Status:ok (Comments)
Tags:
Comment:
Kill duplicate PROTO_ from defines
Modified paths:
  • /branches/wmf/1.17wmf1/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: branches/wmf/1.17wmf1/includes/GlobalFunctions.php
@@ -1451,11 +1451,6 @@
14521452 return $url;
14531453 }
14541454
1455 -define( 'PROTO_HTTP', 'http://' );
1456 -define( 'PROTO_HTTPS', 'https://' );
1457 -define( 'PROTO_RELATIVE', '//' );
1458 -define( 'PROTO_CURRENT', null );
1459 -
14601455 /**
14611456 * Expand a potentially local URL to a fully-qualified URL. Assumes $wgServer
14621457 * is correct.

Comments

#Comment by Reedy (talk | contribs)   23:31, 25 August 2011
  • Kill duplicate PROTO_ in GlobalFunctions which are also in Defines

Status & tagging log