Ignore:
Timestamp:
Jan 29, 2013, 6:35:23 PM (11 years ago)
Author:
mistic100
Message:

feature:2826

File:
1 edited

Legend:

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

    r19703 r20449  
    293293  function get_server_plugins($new=false)
    294294  {
    295     global $user;
     295    global $user, $conf;
    296296
    297297    $versions_to_check = $this->get_versions_to_check();
     
    314314    $url = PEM_URL . '/api/get_revision_list.php';
    315315    $get_data = array(
    316       'category_id' => 12,
     316      'category_id' => $conf['pem_plugins_category'],
    317317      'format' => 'php',
    318318      'last_revision_only' => 'true',
     
    364364      return false;
    365365    }
     366   
     367    global $conf;
    366368
    367369    // Plugins to check
     
    378380    $url = PEM_URL . '/api/get_revision_list.php';
    379381    $get_data = array(
    380       'category_id' => 12,
     382      'category_id' => $conf['pem_plugins_category'],
    381383      'format' => 'php',
    382384      'version' => implode(',', $versions_to_check),
Note: See TracChangeset for help on using the changeset viewer.