From f1077f05773037ea78d2d62c7367cdc3eecd6e09 Mon Sep 17 00:00:00 2001 From: Steve Dibb Date: Wed, 3 Feb 2010 13:41:17 +0000 Subject: Stop extending PortageTree and use singleton instead git-svn-id: file:///var/svn/portage@80 3218660a-b0cf-4799-a991-8ddcc5b9e0f3 --- import.ebuild_homepage.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'import.ebuild_homepage.php') diff --git a/import.ebuild_homepage.php b/import.ebuild_homepage.php index 6f244db..72a2b93 100644 --- a/import.ebuild_homepage.php +++ b/import.ebuild_homepage.php @@ -3,8 +3,7 @@ require_once 'header.php'; if(!$tree) { - require_once 'class.portage.tree.php'; - $tree = new PortageTree(); + $tree =& PortageTree::singleton(); } require_once 'class.portage.category.php'; -- cgit v1.2.3-65-gdbad