merge r8238 from trunk to branch 2.1

feature 2048 removed (and was never released): no data are sent anonymously to piwigo.org for statistics purpose


git-svn-id: http://piwigo.org/svn/branches/2.1@8240 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
plegall
2010-12-23 00:27:38 +00:00
parent 598d35cf6f
commit a1e51fdc29
5 changed files with 3 additions and 27 deletions

View File

@@ -2036,24 +2036,4 @@ function get_fckb_tag_ids($raw_tags)
return $tag_ids;
}
function get_hosting_technical_details()
{
global $conf;
$details = array();
if ($conf['send_hosting_technical_details'] and $_SERVER['HTTP_HOST'] != 'localhost')
{
$details = array(
'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']),
'os' => PHP_OS,
'pwgversion' => PHPWG_VERSION,
'phpversion' => phpversion(),
'dbengine' => DB_ENGINE,
'dbversion' => pwg_get_db_version(),
);
}
return $details;
}
?>