Changeset 6255 for extensions/NBC_UserAdvManager/trunk/maintain.inc.php
- Timestamp:
- May 20, 2010, 9:11:38 PM (14 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/NBC_UserAdvManager/trunk/maintain.inc.php
r6251 r6255 1 1 <?php 2 2 3 if(!defined("UAM_PATH")) define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 3 if(!defined('UAM_PATH')) 4 { 5 define('UAM_PATH' , PHPWG_PLUGINS_PATH.basename(dirname(__FILE__)).'/'); 6 } 4 7 if (!defined('UAM_ROOT')) 5 8 { … … 159 162 /* Check if old version is > 2.15 */ 160 163 /* ****************************** */ 161 $query = ' 164 // In preparation of next releases 165 /* $query = ' 162 166 SELECT param 163 167 FROM '.CONFIG_TABLE.' 164 WHERE param LIKE \"UserAdvManager%\"168 WHERE param LIKE "UserAdvManager%" 165 169 ;'; 166 170 $count = pwg_db_num_rows(pwg_query($query)); … … 170 174 upgrade_2151_2152(); 171 175 } 172 176 */ 173 177 load_conf_from_db('param like \'UserAdvManager\\_%\''); 174 178 }
Note: See TracChangeset
for help on using the changeset viewer.