From: Chad Horohoe Date: Sat, 13 Feb 2010 02:29:59 +0000 (+0000) Subject: Drop ancient PHP4 wrapper for cloning, completely unused X-Git-Tag: 1.31.0-rc.0~37782 X-Git-Url: https://git.cyclocoop.org/%7B%24www_url%7Dadmin/compta/banques/%7B%7B%20url_for%28%27admin_users%27%29%20%7D%7D?a=commitdiff_plain;h=c5267bf20e3f2673f5a7f7dda766b8520623f501;p=lhc%2Fweb%2Fwiklou.git Drop ancient PHP4 wrapper for cloning, completely unused --- 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