Changeset 6256


Ignore:
Timestamp:
05/20/10 21:14:36 (9 years ago)
Author:
Eric
Message:

[NBC_UserAdvManager]

Merged from trunk to branch 2.15

Location:
extensions/NBC_UserAdvManager/branches/2.15
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • extensions/NBC_UserAdvManager/branches/2.15/changelog.txt.php

    r6253 r6256  
    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/branches/2.15/include/upgradedb.inc.php

    r5764 r6256  
    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/branches/2.15/main.inc.php

    r6253 r6256  
    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/branches/2.15/maintain.inc.php

    r6253 r6256  
    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.