Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/matomo-org/matomo.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/misc
diff options
context:
space:
mode:
authorMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 02:59:37 +0300
committerMatthieu Napoli <matthieu@mnapoli.fr>2014-12-22 05:36:47 +0300
commit7efe85ef32abe0695377fd5131299bf7079a6c88 (patch)
tree52f95a4a487ac3fc41b18c31566c3486bd0cba00 /misc
parent7d7ce2dbc1fb5a7316f8ac5d38f35510b8daf036 (diff)
Removed useless test in misc/cron/archive.php
In the past, `misc/cron/archive.php` used to be included in the console command `core:archive`. But not anymore, so this test can be removed.
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php10
1 files changed, 4 insertions, 6 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 41dfb06d7e..69c5d1d118 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -22,12 +22,10 @@ if (!defined('PIWIK_USER_PATH')) {
define('PIWIK_USER_PATH', PIWIK_INCLUDE_PATH);
}
-if (!class_exists('Piwik\Console', false)) {
- define('PIWIK_ENABLE_DISPATCH', false);
- define('PIWIK_ENABLE_ERROR_HANDLER', false);
- define('PIWIK_ENABLE_SESSION_START', false);
- require_once PIWIK_INCLUDE_PATH . "/index.php";
-}
+define('PIWIK_ENABLE_DISPATCH', false);
+define('PIWIK_ENABLE_ERROR_HANDLER', false);
+define('PIWIK_ENABLE_SESSION_START', false);
+require_once PIWIK_INCLUDE_PATH . "/index.php";
if (!empty($_SERVER['argv'][0])) {
$callee = $_SERVER['argv'][0];