Revision 1755
Added by Luisehahne about 13 years ago
| branches/2.8.x/CHANGELOG | ||
|---|---|---|
| 13 | 13 |
|
| 14 | 14 |
|
| 15 | 15 |
|
| 16 |
15 Sep-2012 Build 1755 Dietmar Woellbrink (Luisehahne) |
|
| 17 |
! update upgrade-script, see Revsion 1735 |
|
| 16 | 18 |
15 Sep-2012 Build 1754 Dietmar Woellbrink (Luisehahne) |
| 17 | 19 |
# fixed Duplicate entry for key 'PRIMARY' if adding a new pageX |
| 18 | 20 |
search for ->page['root_parent'] == 0 in module and shoe_menu2 calls |
| branches/2.8.x/wb/upgrade-script.php | ||
|---|---|---|
| 632 | 632 |
$description = "VARCHAR( 512 ) NOT NULL DEFAULT ''"; |
| 633 | 633 |
echo "Modify field viewing_users to pages table"; |
| 634 | 634 |
echo ($database->field_modify($table_name, $field_name, $description) ? " $OK<br />" : " $FAIL!<br />"); |
| 635 |
|
|
| 636 |
/********************************************************** |
|
| 637 |
* - Remove/add PRIMARY KEY from/to "section_id" from table "mod_wysiwygs" |
|
| 638 |
*/ |
|
| 639 |
$sTable = TABLE_PREFIX.'mod_wysiwyg'; |
|
| 640 |
$field_name = 'wysiwyg_id'; |
|
| 641 |
if(!$database->field_exists($sTable,$field_name)) {
|
|
| 642 |
echo "Remove PRIMARY KEY from table mod_wysiwygs"; |
|
| 643 |
$sql = 'ALTER TABLE `'.DB_NAME.'`.`'.$sTable.'` DROP PRIMARY KEY'; |
|
| 644 |
echo ($database->query($sql) ? " $OK<br />" : " $FAIL!<br />"); |
|
| 645 |
|
|
| 646 |
echo "add new PRIMARY KEY to table mod_wysiwygs"; |
|
| 647 |
$sql = 'ALTER TABLE `'.$sTable.'` ADD `wysiwyg_id` INT NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST'; |
|
| 648 |
echo ($database->query($sql) ? " $OK<br />" : " $FAIL!<br />"); |
|
| 649 |
} |
|
| 635 | 650 |
} |
| 636 | 651 |
|
| 637 | 652 |
/********************************************************** |
| branches/2.8.x/wb/admin/interface/version.php | ||
|---|---|---|
| 51 | 51 |
|
| 52 | 52 |
// check if defined to avoid errors during installation (redirect to admin panel fails if PHP error/warnings are enabled) |
| 53 | 53 |
if(!defined('VERSION')) define('VERSION', '2.8.3');
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1754');
|
|
| 54 |
if(!defined('REVISION')) define('REVISION', '1755');
|
|
| 55 | 55 |
if(!defined('SP')) define('SP', '');
|
Also available in: Unified diff
! update upgrade-script, see Revsion 1735