summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'import.all.php')
-rw-r--r--import.all.php8
1 files changed, 3 insertions, 5 deletions
diff --git a/import.all.php b/import.all.php
index fd4c397..73b95f8 100644
--- a/import.all.php
+++ b/import.all.php
@@ -2,17 +2,15 @@
require_once 'header.php';
- // This gets used everywhere, might as well create it here
- // and check for it later.
- require_once 'class.portage.tree.php';
- $tree = new PortageTree();
-
// Had it choke out on me when starting from scratch
ini_set('memory_limit', -1);
// Always verbose since we are generally running manually from CLI
$verbose = true;
+ // Do some performance analysis
+ $hits = array();
+
// Run with -cron arg to go quietly into the night.
// No code in here to do emerge --sync. Runs separately.
if(in_array("-cron", $argv)) {