Changeset 24159


Ignore:
Timestamp:
Aug 14, 2013, 11:29:24 PM (7 years ago)
Author:
mistic100
Message:

feature:2826 missing hardcoded PEM category id in r20449

File:
1 edited

Legend:

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

    r23821 r24159  
    265265  function get_versions_to_check($version=PHPWG_VERSION)
    266266  {
     267    global $conf;
     268   
    267269    $versions_to_check = array();
    268     $url = PEM_URL . '/api/get_version_list.php?category=12&format=php';
     270    $url = PEM_URL . '/api/get_version_list.php?category_id='. $conf['pem_plugins_category'] .'&format=php';
    269271    if (fetchRemote($url, $result) and $pem_versions = @unserialize($result))
    270272    {
Note: See TracChangeset for help on using the changeset viewer.