Reverted #11038 from rev 5451: this doesn't work as expected and has a lot negative...
authorSteffen Kamper <info@sk-typo3.de>
Thu, 21 May 2009 12:59:41 +0000 (12:59 +0000)
committerSteffen Kamper <info@sk-typo3.de>
Thu, 21 May 2009 12:59:41 +0000 (12:59 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@5467 709f56b5-9817-0410-a4d7-c38de5d9e867

ChangeLog
typo3/sysext/cms/tslib/class.tslib_fe.php

index ab8b24d..1d65029 100755 (executable)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,6 @@
-2009-05-20  Steffen Kamper  <info@sk-typo3.de>
+2009-05-21  Steffen Kamper  <info@sk-typo3.de>
 
+       * Reverted #11038 from rev 5451: this doesn't work as expected and has a lot negative side effects
        * Fixed bug #11022: DBAL does not support SQL having "+" (used in cache management)  (thanks to Xavier Perseguers)
        * Fixed bug #8231: DBAL's bug admin_get_charsets() on a non-object (thanks to Xavier Perseguers)
 
index 568ed4b..0a88798 100644 (file)
@@ -934,10 +934,8 @@ require_once (PATH_t3lib.'class.t3lib_lock.php');
                $this->sys_page->versioningWorkspaceId = $this->whichWorkspace();
                $this->sys_page->init($this->showHiddenPage);
 
-                       // Set the valid usergroups for FE if a FE user is active or simulation of a FE user group was requested:
-               if (is_array($this->fe_user->user) || ($this->beUserLogin && $GLOBALS['BE_USER']->uc['TSFE_adminConfig']['preview_simulateUserGroup'])) {
-                       $this->initUserGroups();
-               }
+                       // Set the valid usergroups for FE
+               $this->initUserGroups();
 
                        // Sets sys_page where-clause
                $this->setSysPageWhereClause();