Ignore:
Timestamp:
May 20, 2010, 9:11:38 PM (14 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager]

  • Quick bug fix on database upgrade
File:
1 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/maintain.inc.php

    r6251 r6255  
    11<?php
    22
    3 if(!defined("UAM_PATH")) define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     3if(!defined('UAM_PATH'))
     4{
     5  define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     6}
    47if (!defined('UAM_ROOT'))
    58{
     
    159162/* Check if old version is > 2.15 */
    160163/* ****************************** */
    161    $query = '
     164// In preparation of next releases
     165/*   $query = '
    162166SELECT param
    163167  FROM '.CONFIG_TABLE.'
    164 WHERE param LIKE \"UserAdvManager%\"
     168WHERE param LIKE "UserAdvManager%"
    165169;';
    166170  $count = pwg_db_num_rows(pwg_query($query));
     
    170174    upgrade_2151_2152();
    171175  }
    172 
     176*/
    173177load_conf_from_db('param like \'UserAdvManager\\_%\'');
    174178}
Note: See TracChangeset for help on using the changeset viewer.