TYPO3 CMS  TYPO3_6-2
AutoPublishTask.php
Go to the documentation of this file.
1 <?php
3 
24 
32  public function execute() {
33  // Load the workspace library class and instatiate it
34  $autopubObj = \TYPO3\CMS\Core\Utility\GeneralUtility::makeInstance('TYPO3\\CMS\\Version\\Utility\\WorkspacesUtility');
35  // Publish the workspaces that need to be
36  $autopubObj->autoPublishWorkspaces();
37  // There's no feedback from the publishing process,
38  // so there can't be any failure.
39  // TODO: This could certainly be improved.
40  return TRUE;
41  }
42 
43 }