Disables benchmark
authorMatthias Schmidt <gravatronics@live.com>
Fri, 27 Sep 2013 14:53:48 +0000 (16:53 +0200)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 27 Sep 2013 14:53:48 +0000 (16:53 +0200)
wcfsetup/install/files/lib/system/CLIWCF.class.php

index b9a9ceeea80278630691b981a6ca8e0692c69d45..393b1a040d4d8b125bdcec252fef8c0a3419784c 100644 (file)
@@ -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