Imported Upstream version 14.45.0
[platform/upstream/libzypp.git] / zypp / ProvideFilePolicy.cc
index 9eff514..e6aef9c 100644 (file)
@@ -25,23 +25,6 @@ namespace zypp
   //
   ///////////////////////////////////////////////////////////////////
 
-  ///////////////////////////////////////////////////////////////////
-  namespace
-  { /////////////////////////////////////////////////////////////////
-
-    bool yes() { return true; }
-    bool no()  { return false; }
-
-    /////////////////////////////////////////////////////////////////
-  } // namespace
-  ///////////////////////////////////////////////////////////////////
-
-  ProvideFilePolicy & ProvideFilePolicy::failOnChecksumErrorCB( bool yesno_r )
-  {
-    _failOnChecksumErrorCB = (yesno_r ? &yes : &no);
-    return *this;
-  }
-
   bool ProvideFilePolicy::progress( int value ) const
   {
     if ( _progressCB )
@@ -49,12 +32,5 @@ namespace zypp
     return true;
   }
 
-  bool ProvideFilePolicy::failOnChecksumError() const
-  {
-    if ( _failOnChecksumErrorCB )
-      return _failOnChecksumErrorCB();
-    return true;
-  }
-
 } // namespace zypp
 ///////////////////////////////////////////////////////////////////