From: Matthias Schmidt Date: Fri, 27 Sep 2013 14:53:48 +0000 (+0200) Subject: Disables benchmark X-Git-Tag: 2.0.0_Beta_10~15^2~4 X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=ad92e033414cfceae60fd6d39596cb7061eca0b9;p=GitHub%2FWoltLab%2FWCF.git Disables benchmark --- 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