Drop ancient PHP4 wrapper for cloning, completely unused

This commit is contained in:
Chad Horohoe 2010-02-13 02:29:59 +00:00
parent ae1e32d350
commit c5267bf20e

View file

@ -261,15 +261,6 @@ function wfArrayDiff2_cmp( $a, $b ) {
}
}
/**
* Wrapper for clone(), for compatibility with PHP4-friendly extensions.
* PHP 5 won't let you declare a 'clone' function, even conditionally,
* so it has to be a wrapper with a different name.
*/
function wfClone( $object ) {
return clone( $object );
}
/**
* Seed Mersenne Twister
* No-op for compatibility; only necessary in PHP < 4.2.0