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:
ae1e32d
)
Drop ancient PHP4 wrapper for cloning, completely unused
author
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 13 Feb 2010 02:29:59 +0000
(
02:29
+0000)
committer
Chad Horohoe
<demon@users.mediawiki.org>
Sat, 13 Feb 2010 02:29:59 +0000
(
02:29
+0000)
includes/GlobalFunctions.php
patch
|
blob
|
history
diff --git
a/includes/GlobalFunctions.php
b/includes/GlobalFunctions.php
index
5ff9629
..
d6e0f5b
100644
(file)
--- a/
includes/GlobalFunctions.php
+++ b/
includes/GlobalFunctions.php
@@
-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