diff options
author | Steve Dibb <beandog@gentoo.org> | 2010-02-03 13:41:17 +0000 |
---|---|---|
committer | Steve Dibb <beandog@gentoo.org> | 2010-02-03 13:41:17 +0000 |
commit | f1077f05773037ea78d2d62c7367cdc3eecd6e09 (patch) | |
tree | 889c667d3b84911b9a4724a6d7aee27b377b44c7 /import.ebuild_homepage.php | |
parent | Use singleton (diff) | |
download | znurt-org-backend-f1077f05773037ea78d2d62c7367cdc3eecd6e09.tar.gz znurt-org-backend-f1077f05773037ea78d2d62c7367cdc3eecd6e09.tar.bz2 znurt-org-backend-f1077f05773037ea78d2d62c7367cdc3eecd6e09.zip |
Stop extending PortageTree and use singleton instead
git-svn-id: file:///var/svn/portage@80 3218660a-b0cf-4799-a991-8ddcc5b9e0f3
Diffstat (limited to 'import.ebuild_homepage.php')
-rw-r--r-- | import.ebuild_homepage.php | 3 |
1 files changed, 1 insertions, 2 deletions
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'; |