Drop ancient PHP4 wrapper for cloning, completely unused
This commit is contained in:
parent
ae1e32d350
commit
c5267bf20e
1 changed files with 0 additions and 9 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue