diff options
Diffstat (limited to 'engine/lib/sites.php')
| -rw-r--r-- | engine/lib/sites.php | 2 | 
1 files changed, 2 insertions, 0 deletions
| diff --git a/engine/lib/sites.php b/engine/lib/sites.php index d38113d27..0892f2963 100644 --- a/engine/lib/sites.php +++ b/engine/lib/sites.php @@ -54,6 +54,8 @@ class ElggSite extends ElggEntity {  			// Is $guid is an ElggSite? Use a copy constructor  			else if ($guid instanceof ElggSite) { +				elgg_log('This type of usage of the ElggSite constructor was deprecated in 1.7. Please use the clone method.', 'WARNING'); +				  				foreach ($guid->attributes as $key => $value) {  					$this->attributes[$key] = $value;  				} | 
