Browse Source

apt-pkg/deb/debindexfile.{cc,h}: kill GetIndexes()

debian/1.8.y
Michael Vogt 8 years ago
parent
commit
87ecd6a2d7
  1. 13
      apt-pkg/deb/debindexfile.cc
  2. 1
      apt-pkg/deb/debindexfile.h

13
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

1
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;

Loading…
Cancel
Save