Disable ACP session access log for WorkerProxyAction
authorTim Düsterhus <timwolla@googlemail.com>
Sun, 8 Sep 2013 20:41:46 +0000 (22:41 +0200)
committerTim Düsterhus <timwolla@googlemail.com>
Sun, 8 Sep 2013 20:41:46 +0000 (22:41 +0200)
This saves 4 queries in workers.

wcfsetup/install/files/lib/acp/action/WorkerProxyAction.class.php

index 5061a5fcbf911872f3edcd6ed8f1f6ec9b2733fd..2db8cddb0533d514c934e956358760d464b69098 100644 (file)
@@ -18,6 +18,11 @@ use wcf\util\JSON;
  * @category   Community Framework
  */
 class WorkerProxyAction extends AJAXInvokeAction {
+       /**
+        * @see wcf\system\event\listener\SessionAccessLogListener::execute()
+        */
+       const DO_NOT_LOG = true;
+       
        /**
         * loop counter
         * @var integer