Changeset 3070 for trunk/admin


Ignore:
Timestamp:
Jan 13, 2009, 1:38:02 AM (15 years ago)
Author:
patdenice
Message:

Send user language when retrieving datas from PEM api.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/admin/include/plugins.class.php

    r3049 r3070  
    265265  function get_server_plugins($new=false)
    266266  {
     267    global $user;
     268
    267269    // Retrieve PEM versions
    268270    $version = PHPWG_VERSION;
     
    302304    $url = PEM_URL . '/api/get_revision_list.php?category_id=12&format=php&last_revision_only=true';
    303305    $url .= '&version=' . implode(',', $versions_to_check);
     306    $url .= '&lang=' . substr($user['language'], 0, 2);
    304307
    305308    if (!empty($plugins_to_check))
Note: See TracChangeset for help on using the changeset viewer.