diff --git a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php index 4fd063288e7289edd6839ff88ec5e85942d7249f..efd619a612fa7a540c14e53b54d82bdb6cbe6392 100644 --- a/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php +++ b/typo3/sysext/core/Classes/Authentication/BackendUserAuthentication.php @@ -2225,21 +2225,6 @@ class BackendUserAuthentication extends AbstractUserAuthentication $this->workspaceRec = $this->checkWorkspace($this->workspace, '*'); } - /** - * Setting workspace preview state for user: - * - * @param bool $previewState State of user preview. - */ - public function setWorkspacePreview($previewState) - { - $this->user['workspace_preview'] = $previewState; - GeneralUtility::makeInstance(ConnectionPool::class)->getConnectionForTable('be_users')->update( - 'be_users', - ['workspace_preview_id' => $this->user['workspace_preview']], - ['uid' => (int)$this->user['uid']] - ); - } - /** * Return default workspace ID for user, * if EXT:workspaces is not installed the user will be pushed to the diff --git a/typo3/sysext/core/ext_tables.sql b/typo3/sysext/core/ext_tables.sql index 8addb9980dfe6edfda614c63e95eee8a3d9b8863..78fe09010ed7cb5e7ebe651af3853fb039f35a8e 100644 --- a/typo3/sysext/core/ext_tables.sql +++ b/typo3/sysext/core/ext_tables.sql @@ -82,7 +82,6 @@ CREATE TABLE be_users ( createdByAction int(11) DEFAULT '0' NOT NULL, usergroup_cached_list text, workspace_id int(11) DEFAULT '0' NOT NULL, - workspace_preview tinyint(3) DEFAULT '1' NOT NULL, category_perms text, PRIMARY KEY (uid), KEY parent (pid), diff --git a/typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml b/typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml index c386c25d162d0e62d135a08d67ea18457dcdff10..a7193453635ceb53481729a822d81924fb0cd11c 100644 --- a/typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml +++ b/typo3/sysext/recycler/Tests/Functional/Fixtures/Database/be_users.xml @@ -20,7 +20,6 @@ <lastlogin>1371033743</lastlogin> <createdByAction>0</createdByAction> <workspace_id>0</workspace_id> - <workspace_preview>1</workspace_preview> </be_users> <be_users> <uid>2</uid> @@ -42,7 +41,6 @@ <lastlogin>1452944915</lastlogin> <createdByAction>0</createdByAction> <workspace_id>0</workspace_id> - <workspace_preview>1</workspace_preview> <db_mountpoints>1</db_mountpoints> <usergroup>1</usergroup> </be_users>