Changeset 8238 for trunk/admin


Ignore:
Timestamp:
Dec 22, 2010, 10:57:50 PM (13 years ago)
Author:
plg
Message:

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

Location:
trunk/admin/include
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/functions.php

    r8125 r8238  
    20552055  return $tag_ids;
    20562056}
    2057 
    2058 function get_hosting_technical_details()
    2059 {
    2060   global $conf;
    2061 
    2062   $details = array();
    2063   if ($conf['send_hosting_technical_details'] and $_SERVER['HTTP_HOST'] != 'localhost')
    2064   {
    2065     $details = array(
    2066       'uuid' => hash_hmac('md5', get_absolute_root_url(), $conf['secret_key']),
    2067       'os' => PHP_OS,
    2068       'pwgversion' => PHPWG_VERSION,
    2069       'phpversion' => phpversion(),
    2070       'dbengine' => DB_ENGINE,
    2071       'dbversion' => pwg_get_db_version(),
    2072     );
    2073   }
    2074 
    2075   return $details;
    2076 }
    20772057?>
  • trunk/admin/include/languages.class.php

    r8084 r8238  
    206206    $versions_to_check = array();
    207207    $url = PEM_URL . '/api/get_version_list.php';
    208     if (fetchRemote($url, $result, $get_data, get_hosting_technical_details()) and $pem_versions = @unserialize($result))
     208    if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result))
    209209    {
    210210      if (!preg_match('/^\d+\.\d+\.\d+/', $version))
  • trunk/admin/include/plugins.class.php

    r8084 r8238  
    300300    $versions_to_check = array();
    301301    $url = PEM_URL . '/api/get_version_list.php';
    302     if (fetchRemote($url, $result, $get_data, get_hosting_technical_details()) and $pem_versions = @unserialize($result))
     302    if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result))
    303303    {
    304304      if (!preg_match('/^\d+\.\d+\.\d+/', $version))
  • trunk/admin/include/themes.class.php

    r8084 r8238  
    457457    $versions_to_check = array();
    458458    $url = PEM_URL . '/api/get_version_list.php';
    459     if (fetchRemote($url, $result, $get_data, get_hosting_technical_details()) and $pem_versions = @unserialize($result))
     459    if (fetchRemote($url, $result, $get_data) and $pem_versions = @unserialize($result))
    460460    {
    461461      if (!preg_match('/^\d+\.\d+\.\d+/', $version))
Note: See TracChangeset for help on using the changeset viewer.