Changeset 3071 for branches/2.0/admin


Ignore:
Timestamp:
Jan 13, 2009, 1:40:40 AM (16 years ago)
Author:
patdenice
Message:

merge -c3070 from trunk to branch 2.0.
Send user language when retrieving datas from PEM api.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/2.0/admin/include/plugins.class.php

    r3046 r3071  
    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.