From ad92e033414cfceae60fd6d39596cb7061eca0b9 Mon Sep 17 00:00:00 2001 From: Matthias Schmidt Date: Fri, 27 Sep 2013 16:53:48 +0200 Subject: [PATCH] Disables benchmark --- wcfsetup/install/files/lib/system/CLIWCF.class.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/wcfsetup/install/files/lib/system/CLIWCF.class.php b/wcfsetup/install/files/lib/system/CLIWCF.class.php index b9a9ceeea8..393b1a040d 100644 --- a/wcfsetup/install/files/lib/system/CLIWCF.class.php +++ b/wcfsetup/install/files/lib/system/CLIWCF.class.php @@ -61,6 +61,9 @@ class CLIWCF extends WCF { $argv->parse(); define('PACKAGE_ID', $argv->packageID ?: 1); + // disable benchmark + define('ENABLE_BENCHMARK', 0); + parent::__construct(); // the destructor registered in core.functions.php will only call the destructor of the parent class -- 2.20.1