Followup to #16005 - added some more comments
authorBenni Mack <benni.mack@typo3.org>
Fri, 15 Oct 2010 21:37:58 +0000 (21:37 +0000)
committerBenni Mack <benni.mack@typo3.org>
Fri, 15 Oct 2010 21:37:58 +0000 (21:37 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/branches/TYPO3_4-4@9088 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_befunc.php

index 91c829b..2de4d33 100644 (file)
@@ -3970,7 +3970,7 @@ final class t3lib_BEfunc {
 
        /**
         * Will return where clause de-selecting new(/deleted)-versions from other workspaces.
-        * If in live-workspace, don't show MOVE-TO-PLACEHOLDERS if versioningWS is 2 (allows moving)
+        * If in live-workspace, don't show "MOVE-TO-PLACEHOLDERS" records if versioningWS is 2 (allows moving)
         *
         * @param       string          Table name
         * @return      string          Where clause if applicable.
@@ -3983,8 +3983,7 @@ final class t3lib_BEfunc {
                                        // if in any workspace other than live
                                return ' AND (' . $table . '.t3ver_state <= 0 OR ' . $table . '.t3ver_wsid = ' . $currentWorkspace . ')';
                        } elseif ($GLOBALS['TCA'][$table]['ctrl']['versioningWS'] == 2) {
-                                       // if in live workspace, don't show MOVE-TO-PLACEHOLDERS
-                                       // but only if if versioning of this table allows moving (versioningWS=2) 
+                                       // if in live workspace, don't show "MOVE-TO-PLACEHOLDERS"
                                return ' AND (' . $table . '.t3ver_state != 3)';
                        }
                }