diff options
author | Dries Buytaert <dries@buytaert.net> | 2008-02-17 19:29:07 +0000 |
---|---|---|
committer | Dries Buytaert <dries@buytaert.net> | 2008-02-17 19:29:07 +0000 |
commit | 01a4c0d827dac4867cf500e47007f15c02910e3d (patch) | |
tree | af6ef42864b64bbf08b28c1e98d147f171817d34 /includes | |
parent | 210311903ebedd1c3d764cbd7983e41813d24319 (diff) | |
download | brdo-01a4c0d827dac4867cf500e47007f15c02910e3d.tar.gz brdo-01a4c0d827dac4867cf500e47007f15c02910e3d.tar.bz2 |
- Patch #222385 by pwolanin: removed drupal_clone() hack in favor of the real PHP5 clone().
Diffstat (limited to 'includes')
-rw-r--r-- | includes/common.inc | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/includes/common.inc b/includes/common.inc index 789a01673..3e41439f0 100644 --- a/includes/common.inc +++ b/includes/common.inc @@ -1568,13 +1568,6 @@ function 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 <link> tag to the page's HEAD. */ function drupal_add_link($attributes) { |