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

[NBC_UserAdvManager]

  • Quick bug fix on database upgrade
Location:
extensions/NBC_UserAdvManager/trunk
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/trunk/changelog.txt.php

    r6251 r6255  
    173173            Some translations revisited
    174174            Bug 1655 fixed - Navigation bar is usefull again
     175           
     176-- 2.15.3 : Quick update to fix a database upgrade issue
    175177*/
    176178?>
  • extensions/NBC_UserAdvManager/trunk/include/upgradedb.inc.php

    r5762 r6255  
    99 */
    1010
    11 if(!defined("UAM_PATH")) define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     11if(!defined('UAM_PATH'))
     12{
     13  define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/');
     14}
    1215if (!defined('UAM_ROOT'))
    1316{
  • extensions/NBC_UserAdvManager/trunk/main.inc.php

    r6251 r6255  
    22/*
    33Plugin Name: UserAdvManager
    4 Version: 2.15.2
     4Version: 2.15.3
    55Description: Renforcer la gestion des utilisateurs - Enforce users management
    66Plugin URI: http://fr.piwigo.org/ext/extension_view.php?eid=216
  • 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.