Просмотр исходного кода

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

Michael Vogt лет назад: 11
Родитель
Сommit
87ecd6a2d7
2 измененных файлов с 0 добавлено и 14 удалено
  1. 0 13
      apt-pkg/deb/debindexfile.cc
  2. 0 1
      apt-pkg/deb/debindexfile.h

+ 0 - 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

+ 0 - 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;