From 01a4c0d827dac4867cf500e47007f15c02910e3d Mon Sep 17 00:00:00 2001 From: Dries Buytaert Date: Sun, 17 Feb 2008 19:29:07 +0000 Subject: - Patch #222385 by pwolanin: removed drupal_clone() hack in favor of the real PHP5 clone(). --- includes/common.inc | 7 ------- 1 file changed, 7 deletions(-) (limited to 'includes') diff --git a/includes/common.inc b/includes/common.inc index 789a01673..3e41439f0 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1567,13 +1567,6 @@ function base_path() { return $GLOBALS['base_path']; } -/** - * Provide a substitute clone() function for PHP4. - */ -function drupal_clone($object) { - return version_compare(phpversion(), '5.0') < 0 ? $object : clone($object); -} - /** * Add a tag to the page's HEAD. */ -- cgit v1.2.3