diff options
author | Michael Vogt <mvo@ubuntu.com> | 2014-11-05 17:45:37 +0100 |
---|---|---|
committer | Michael Vogt <mvo@ubuntu.com> | 2014-11-05 17:45:37 +0100 |
commit | 87ecd6a2d719aeaeedd99dd500b467e966376f1c (patch) | |
tree | 7bd66fe09ccbd0cf9f39f575722ae1b2ce52fe01 /apt-pkg | |
parent | 7933b3a1cf56096d6ab30cedf1b736054b5fc84b (diff) |
apt-pkg/deb/debindexfile.{cc,h}: kill GetIndexes()
Diffstat (limited to 'apt-pkg')
-rw-r--r-- | apt-pkg/deb/debindexfile.cc | 13 | ||||
-rw-r--r-- | apt-pkg/deb/debindexfile.h | 1 |
2 files changed, 0 insertions, 14 deletions
diff --git a/apt-pkg/deb/debindexfile.cc b/apt-pkg/deb/debindexfile.cc index 779c74abf..335f9d36e 100644 --- a/apt-pkg/deb/debindexfile.cc +++ b/apt-pkg/deb/debindexfile.cc @@ -452,19 +452,6 @@ string debTranslationsIndex::IndexURI(const char *Type) const return Res; } /*}}}*/ -// TranslationsIndex::GetIndexes - Fetch the index files /*{{{*/ -// --------------------------------------------------------------------- -/* */ -bool debTranslationsIndex::GetIndexes(pkgAcquire *Owner) const -{ - string const TranslationFile = string("Translation-").append(Language); - new pkgAcqIndex(Owner, IndexURI(Language), - Info(TranslationFile.c_str()), - TranslationFile, HashStringList()); - - return true; -} - /*}}}*/ // TranslationsIndex::Describe - Give a descriptive path to the index /*{{{*/ // --------------------------------------------------------------------- /* This should help the user find the index in the sources.list and diff --git a/apt-pkg/deb/debindexfile.h b/apt-pkg/deb/debindexfile.h index e5a1a7873..d727d9547 100644 --- a/apt-pkg/deb/debindexfile.h +++ b/apt-pkg/deb/debindexfile.h @@ -114,7 +114,6 @@ class debTranslationsIndex : public pkgIndexFile // Interface for acquire virtual std::string Describe(bool Short) const; - virtual bool GetIndexes(pkgAcquire *Owner) const; // Interface for the Cache Generator virtual bool Exists() const; |