- Timestamp:
- Sep 27, 2011, 9:31:09 PM (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
extensions/UserAdvManager/branches/2.30/include/upgradedb.inc.php
r12239 r12248 522 522 523 523 // Piwigo's native tables modifications for password reset function - Add pwdreset column 524 $q = ' 524 $query = ' 525 SHOW COLUMNS FROM '.USERS_TABLE.' 526 LIKE "UAM_pwdreset" 527 ;'; 528 529 $result = pwg_query($query); 530 531 if(!pwg_db_fetch_row($result)) 532 { 533 $q = ' 525 534 ALTER TABLE '.USERS_TABLE.' 526 535 ADD UAM_pwdreset enum("true","false") 527 536 ;'; 528 pwg_query($q); 537 pwg_query($q); 538 } 529 539 } 530 540 ?>
Note: See TracChangeset
for help on using the changeset viewer.