Move all templates from `syncTemplates` into shared and rename includes in templates
[GitHub/WoltLab/WCF.git] / wcfsetup / install / files / lib / acp / action / WorkerProxyAction.class.php
index 72bd54a3c2402461c63bdcded7240daa67610466..fa6692384996c71f7014142086694d9a2947c121 100644 (file)
@@ -16,14 +16,13 @@ use wcf\util\JSON;
  * @author  Alexander Ebert
  * @copyright   2001-2019 WoltLab GmbH
  * @license GNU Lesser General Public License <http://opensource.org/licenses/lgpl-license.php>
- * @package WoltLabSuite\Core\Acp\Action
  */
-class WorkerProxyAction extends AJAXInvokeAction
+final class WorkerProxyAction extends AJAXInvokeAction
 {
     /**
      * @inheritDoc
      */
-    const DO_NOT_LOG = true;
+    public const DO_NOT_LOG = true;
 
     /**
      * loop counter
@@ -133,7 +132,7 @@ class WorkerProxyAction extends AJAXInvokeAction
 
         // include template on startup
         if ($this->loopCount == -1) {
-            $returnValues['template'] = WCF::getTPL()->fetch('worker');
+            $returnValues['template'] = WCF::getTPL()->fetch('shared_worker');
         }
 
         // send JSON-encoded response