]> git.saurik.com Git - apt.git/commitdiff
apt-pkg/deb/debindexfile.{cc,h}: kill GetIndexes()
authorMichael Vogt <mvo@ubuntu.com>
Wed, 5 Nov 2014 16:45:37 +0000 (17:45 +0100)
committerMichael Vogt <mvo@ubuntu.com>
Wed, 5 Nov 2014 16:45:37 +0000 (17:45 +0100)
apt-pkg/deb/debindexfile.cc
apt-pkg/deb/debindexfile.h

index 779c74abf96eb83e709e576ca002286d89cec67e..335f9d36ef2b043340fc075a22364941a208eda4 100644 (file)
@@ -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
index e5a1a7873415d449b45be71af3cfb533f78f295c..d727d9547071afa6217a3ff1ef4c33922fc43fe8 100644 (file)
@@ -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;