From c5267bf20e3f2673f5a7f7dda766b8520623f501 Mon Sep 17 00:00:00 2001 From: Chad Horohoe Date: Sat, 13 Feb 2010 02:29:59 +0000 Subject: [PATCH] Drop ancient PHP4 wrapper for cloning, completely unused --- includes/GlobalFunctions.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/includes/GlobalFunctions.php b/includes/GlobalFunctions.php index 5ff9629aa3..d6e0f5b436 100644 --- 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 -- 2.20.1