(feature/cleanup) Refactored clickmenu to speed up the BE
[Packages/TYPO3.CMS.git] / typo3 / mod / user / ws / class.wslib_gui.php
index a33a38a..ac3e250 100644 (file)
@@ -116,12 +116,9 @@ class wslib_gui {
         *
         * The following code is <strong>required</strong> in BE module when this function is used:
         * <code>
-        *      $CMparts = $this->doc->getContextMenuCode();
-        *      $this->doc->JScode.= $CMparts[0];
-        *      $this->doc->bodyTagAdditions = $CMparts[1];
-        *      $this->doc->postCode.= $CMparts[2];
+        *      $this->doc->getContextMenuCode();
         * </code>
-        * or click-menu will not be gerated properly!
+        * or click-menu will not be generated properly!
         *
         * @param       object          $doc    Document (to use for formatting)
         * @param       int             $wsid   Workspace ID, If <code>null</code>, the value is obtained from current BE user
@@ -1303,4 +1300,4 @@ if (defined('TYPO3_MODE') && $TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/u
        include_once($TYPO3_CONF_VARS[TYPO3_MODE]['XCLASS']['typo3/mod/user/ws/class.wslib_gui.php']);
 }
 
-?>
\ No newline at end of file
+?>