Changeset 10707
- Timestamp:
- Apr 30, 2011, 9:13:57 PM (13 years ago)
- Location:
- extensions/UserAdvManager/branches/2.20
- Files:
-
- 5 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.20/changelog.txt.php
r10679 r10707 245 245 246 246 -- 2.20.5 : Bug 2287 fixed - The UAM block for PWG_Stuffs is correctly displayed (stuffs_module directory was missing) 247 248 -- 2.20.6 : Improve database update process 249 Bug 2289 fixed - "Password in clear text in the information email" was working in a reverse logic 247 250 */ 248 251 ?> -
extensions/UserAdvManager/branches/2.20/include/functions.inc.php
r10392 r10707 858 858 if (isset($conf_UAM[0]) and $conf_UAM[0] == 'true') 859 859 { 860 if (isset($conf_UAM[35]) and $conf_UAM[35] == ' false') // Allow display of clear password in email860 if (isset($conf_UAM[35]) and $conf_UAM[35] == 'true') // Allow display of clear password in email 861 861 { 862 862 $infos1 = array( -
extensions/UserAdvManager/branches/2.20/include/upgradedb.inc.php
r10392 r10707 31 31 $plugin = PluginInfos(UAM_PATH); 32 32 $version = $plugin['version']; 33 34 // Update plugin version 33 34 // Update plugin version in #_config table 35 35 $query = ' 36 36 UPDATE '.CONFIG_TABLE.' … … 41 41 42 42 pwg_query($query); 43 44 45 // Check #_plugin table consistency 46 // Only useful if a previous version upgrade has not worked correctly (rare case) 47 $query = ' 48 SELECT version 49 FROM '.PLUGINS_TABLE.' 50 WHERE id = "UserAdvManager" 51 ;'; 52 53 $data = pwg_db_fetch_assoc(pwg_query($query)); 54 55 if (empty($data['version']) or $data['version'] <> $version) 56 { 57 $query = ' 58 UPDATE '.PLUGINS_TABLE.' 59 SET version="'.$version.'" 60 WHERE id = "UserAdvManager" 61 LIMIT 1 62 ;'; 63 64 pwg_query($query); 65 } 43 66 } 44 67 -
extensions/UserAdvManager/branches/2.20/main.inc.php
r10679 r10707 2 2 /* 3 3 Plugin Name: UserAdvManager 4 Version: 2.20. 54 Version: 2.20.6 5 5 Description: Renforcer la gestion des utilisateurs - Enforce users management 6 6 Plugin URI: http://piwigo.org/ext/extension_view.php?eid=216 -
extensions/UserAdvManager/branches/2.20/maintain.inc.php
r10392 r10707 254 254 } 255 255 256 // Update plugin version number in #_config table and check consistency of #_plugins table 256 257 UAM_version_update(); 257 258
Note: See TracChangeset
for help on using the changeset viewer.