r62418 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r62417‎ | r62418 | r62419 >
Date:02:29, 13 February 2010
Author:demon
Status:ok
Tags:
Comment:
Drop ancient PHP4 wrapper for cloning, completely unused
Modified paths:
  • /trunk/phase3/includes/GlobalFunctions.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/GlobalFunctions.php
@@ -262,15 +262,6 @@
263263 }
264264
265265 /**
266 - * Wrapper for clone(), for compatibility with PHP4-friendly extensions.
267 - * PHP 5 won't let you declare a 'clone' function, even conditionally,
268 - * so it has to be a wrapper with a different name.
269 - */
270 -function wfClone( $object ) {
271 - return clone( $object );
272 -}
273 -
274 -/**
275266 * Seed Mersenne Twister
276267 * No-op for compatibility; only necessary in PHP < 4.2.0
277268 */

Status & tagging log