*** empty log message ***
authorKasper Skårhøj <kasper@typo3.org>
Thu, 26 Aug 2004 16:12:45 +0000 (16:12 +0000)
committerKasper Skårhøj <kasper@typo3.org>
Thu, 26 Aug 2004 16:12:45 +0000 (16:12 +0000)
git-svn-id: https://svn.typo3.org/TYPO3v4/Core/trunk@444 709f56b5-9817-0410-a4d7-c38de5d9e867

t3lib/class.t3lib_tcemain.php

index ee4094b..0b336f5 100755 (executable)
@@ -3276,10 +3276,6 @@ class t3lib_TCEmain      {
                if ($TCA[$table] && $TCA[$table]['ctrl']['versioning'] && $id>0)        {
                        if ($this->doesRecordExist($table,$id,'show') && $this->doesRecordExist($table,$id,'edit'))     {
 
-                                       // WE DO NOT check if the record being versionized can be edited (based on page permissions) - all we need is "view" permissions - just like when making a copy
-                                       // BUT we check EDIT permissions when SWAPPING.
-                                       // Maybe one should implement "create new version" permissions?
-
                                        // Select main record:
                                $row = $this->recordInfo($table,$id,'pid,t3ver_id');
                                if (is_array($row))     {