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