Index: Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php
===================================================================
--- Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php (revision 3359)
+++ Classes/BackendUserInterface/WorkspaceSelectorToolbarItem.php (working copy)
@@ -128,19 +128,8 @@
'';
}
- // frontend preview toggle
- $frontendPreviewActiveIcon = $stateUncheckedIcon;
- if (!$GLOBALS['BE_USER']->user['workspace_preview']) {
- $frontendPreviewActiveIcon = $stateCheckedIcon;
- }
-
- $workspaceMenu[] = '
' . $frontendPreviewActiveIcon .
- '' . $GLOBALS['LANG']->getLL('bookmark_workspaceComparisonView', true) . '';
-
// go to workspace module link
- $workspaceMenu[] = '' . $stateUncheckedIcon . ' ' .
+ $workspaceMenu[] = '' . $stateUncheckedIcon . ' ' .
'' .
' '. $GLOBALS['LANG']->getLL('bookmark_workspace', true) . '';
Index: Classes/Service/Befunc.php
===================================================================
--- Classes/Service/Befunc.php (revision 3359)
+++ Classes/Service/Befunc.php (working copy)
@@ -45,7 +45,7 @@
* @return void
*/
public function preProcess($pageUid, $backPath, $rootLine, $anchorSection, &$viewScript, $additionalGetVars, $switchFocus) {
- if ($GLOBALS['BE_USER']->workspace !== 0 && !$GLOBALS['BE_USER']->user['workspace_preview']) {
+ if ($GLOBALS['BE_USER']->workspace !== 0) {
$ctrl = t3lib_div::makeInstance('Tx_Workspaces_Controller_PreviewController', FALSE);
$uriBuilder = t3lib_div::makeInstance('Tx_Extbase_MVC_Web_Routing_UriBuilder');
/**