remove unnecessary domains_see_all column
Signed-off-by: Michael Kaufmann <d00p@froxlor.org>
This commit is contained in:
@@ -124,7 +124,6 @@ CREATE TABLE `panel_admins` (
|
||||
`customers_see_all` tinyint(1) NOT NULL default '0',
|
||||
`domains` int(15) NOT NULL default '0',
|
||||
`domains_used` int(15) NOT NULL default '0',
|
||||
`domains_see_all` tinyint(1) NOT NULL default '0',
|
||||
`caneditphpsettings` tinyint(1) NOT NULL default '0',
|
||||
`change_serversettings` tinyint(1) NOT NULL default '0',
|
||||
`diskspace` int(15) NOT NULL default '0',
|
||||
|
||||
@@ -75,6 +75,8 @@ if (Froxlor::isFroxlorVersion('0.10.38.3')) {
|
||||
// mail_users adjustments
|
||||
Database::query("ALTER TABLE `" . TABLE_MAIL_USERS . "` CHANGE COLUMN `password` `password` varchar(255) NOT NULL default '';");
|
||||
Database::query("ALTER TABLE `" . TABLE_MAIL_USERS . "` CHANGE COLUMN `password_enc` `password_enc` varchar(255) NOT NULL default '';");
|
||||
// drop domains_see_all field from panel_admins
|
||||
Database::query("ALTER TABLE `" . TABLE_PANEL_ADMINS . "` DROP COLUMN `domains_see_all`;");
|
||||
Update::lastStepStatus(0);
|
||||
|
||||
Update::showUpdateStep("Checking for multiple mysql-servers to allow acccess to customers for existing databases");
|
||||
|
||||
Reference in New Issue
Block a user