Revision 1893
Added by Luisehahne over 12 years ago
- little issue on handing the cache in TranslationTable
- fix missing block or block0 issue in /admin/pages/section.php
| upgrade-script.php | ||
|---|---|---|
| 702 | 702 |
* Modify Administrator on groups table |
| 703 | 703 |
*/ |
| 704 | 704 |
echo '<div style="margin-left:2em;">'; |
| 705 |
echo "<h4>Update group Administrator on table groups</h4>";
|
|
| 705 |
echo "<h4>Updating Administrator group permissions on table groups</h4>";
|
|
| 706 | 706 |
$aDebugMessage[] = "<span>Modify Administrator on groups table</span>"; |
| 707 | 707 |
$sModulePermissions = ''; |
| 708 | 708 |
$sTemplatePermissions = ''; |
| ... | ... | |
| 726 | 726 |
echo implode(PHP_EOL,$aDebugMessage); |
| 727 | 727 |
} |
| 728 | 728 |
echo '</div>'; |
| 729 |
|
|
| 729 |
$aDebugMessage = array(); |
|
| 730 | 730 |
/********************************************************** |
| 731 | 731 |
$aDebugMessage = array(); |
| 732 | 732 |
/********************************************************** |
| ... | ... | |
| 749 | 749 |
echo implode(PHP_EOL,$aDebugMessage); |
| 750 | 750 |
} |
| 751 | 751 |
echo '</div>'; |
| 752 |
|
|
| 752 | 753 |
$aDebugMessage = array(); |
| 753 |
|
|
| 754 | 754 |
/********************************************************** |
| 755 | 755 |
* Updating group_id in table users |
| 756 | 756 |
*/ |
| 757 | 757 |
echo '<div style="margin-left:2em;">'; |
| 758 |
echo "<h4>Change field structure on table users</h4>";
|
|
| 758 |
echo "<h4>Updating users groups permissions on table groups</h4>";
|
|
| 759 | 759 |
$aUsers = array(); |
| 760 | 760 |
// Get existing values |
| 761 | 761 |
$sql = 'SELECT * FROM `'.TABLE_PREFIX.'users` ' ; |
| ... | ... | |
| 791 | 791 |
// $aDebugMessage[] = |
| 792 | 792 |
echo implode(PHP_EOL,$aDebugMessage); |
| 793 | 793 |
}else {
|
| 794 |
echo '<span><strong>'.$iTotalUsers.' users updating the group_id</strong></span>'." $OK<br />";
|
|
| 794 |
echo '<span><strong>'.$iTotalUsers.' users updating the groups</strong></span>'." $OK<br />";
|
|
| 795 | 795 |
echo '</div>'; |
| 796 | 796 |
} |
| 797 | 797 |
} |
Also available in: Unified diff