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:
authordiosmosis <benakamoorthi@fastmail.fm>2014-03-31 00:27:27 +0400
committerdiosmosis <benakamoorthi@fastmail.fm>2014-03-31 00:30:07 +0400
commit8caf2dfadb648ece2c47c4a5ffe810f8687313a6 (patch)
tree7a5546c31fe494b42f049d985bedefb89e103082 /misc
parent43d1a17cb1004e859757c9c0173f52cf78dc9dcf (diff)
Add main() method to CronArchive to call individual methods.
Diffstat (limited to 'misc')
-rw-r--r--misc/cron/archive.php5
1 files changed, 1 insertions, 4 deletions
diff --git a/misc/cron/archive.php b/misc/cron/archive.php
index 384fdc707f..42b0093c03 100644
--- a/misc/cron/archive.php
+++ b/misc/cron/archive.php
@@ -43,10 +43,7 @@ To get help use '/path/to/php $piwikHome/console core:archive --help'
$archiving = new Piwik\CronArchive();
try {
- $archiving->init();
- $archiving->run();
- $archiving->runScheduledTasks();
- $archiving->end();
+ $archiving->main();
} catch (Piwik\CronArchiveFatalException $ex) {
$ex->logAndExit($archiving);
} catch (Exception $e) {