ソースを参照

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

Michael Vogt 11 年 前
コミット
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;
    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	/*{{{*/
 // TranslationsIndex::Describe - Give a descriptive path to the index	/*{{{*/
 // ---------------------------------------------------------------------
 // ---------------------------------------------------------------------
 /* This should help the user find the index in the sources.list and
 /* 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
    // Interface for acquire
    virtual std::string Describe(bool Short) const;   
    virtual std::string Describe(bool Short) const;   
-   virtual bool GetIndexes(pkgAcquire *Owner) const;
    
    
    // Interface for the Cache Generator
    // Interface for the Cache Generator
    virtual bool Exists() const;
    virtual bool Exists() const;