aboutsummaryrefslogtreecommitdiff
path: root/doc/api/cplusplus
diff options
context:
space:
mode:
authorAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-25 18:05:34 +0000
committerAvatar Ciaran McCreesh <ciaran.mccreesh@googlemail.com> 2011-03-25 18:05:34 +0000
commit394ca5b5149869e774c8664c034dd9d35c75273f (patch)
treebad35cf42b1a033746599c7d14396da21872dc7d /doc/api/cplusplus
parentbf3ada970ee7a445868c6763d2e6e2d036aea608 (diff)
downloadpaludis-394ca5b5149869e774c8664c034dd9d35c75273f.tar.gz
paludis-394ca5b5149869e774c8664c034dd9d35c75273f.tar.xz
No need for favourite_repository
Diffstat (limited to 'doc/api/cplusplus')
-rw-r--r--doc/api/cplusplus/examples/example_package_database.cc5
1 files changed, 0 insertions, 5 deletions
diff --git a/doc/api/cplusplus/examples/example_package_database.cc b/doc/api/cplusplus/examples/example_package_database.cc
index 87ab20f43..ddbc38ec3 100644
--- a/doc/api/cplusplus/examples/example_package_database.cc
+++ b/doc/api/cplusplus/examples/example_package_database.cc
@@ -48,11 +48,6 @@ int main(int argc, char * argv[])
(repo->format_key() ? repo->format_key()->value() : "") << "'" << endl;
}
- /* Our favourite repository is the least important non-special (e.g.
- * virtual) installable repository. Some clients use this as a hint to
- * not display a ::repository suffix for things from this repository. */
- cout << "Our favourite repository is '" << env->package_database()->favourite_repository() << "'" << endl;
-
/* Users often expect to be able to refer to a package by its name part
* only (e.g. 'foo' rather than 'app-misc/foo'). This has to be
* disambiguated as follows: */