From: Michael Andres Date: Wed, 30 Apr 2008 11:47:19 +0000 (+0000) Subject: use Target::cleanCache X-Git-Tag: BASE-SuSE-Linux-11_0-Branch~91 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=f5a07795600283c8746edb3b8977e4abf10766e0;p=platform%2Fupstream%2Fzypper.git use Target::cleanCache --- diff --git a/src/zypper-repos.cc b/src/zypper-repos.cc index 3e7cbf7..1629b8e 100644 --- a/src/zypper-repos.cc +++ b/src/zypper-repos.cc @@ -1115,8 +1115,8 @@ void clean_repos(Zypper & zypper) zypper.out().info(_("Cleaning installed packages cache."), Out::HIGH); try { -#warning NEED TO CALL Target::cleanCache() - // manager.cleanTargetCache(); + init_target(zypper); + God->target()->cleanCache(); } catch (...) {