[med-svn] [aghermann] 13/24: expdesign: always purge cached profiles on new app version
andrei zavada
hmmr-guest at moszumanska.debian.org
Mon Jun 15 01:48:25 UTC 2015
This is an automated email from the git hooks/post-receive script.
hmmr-guest pushed a commit to branch WIP
in repository aghermann.
commit 698893ce9825cec628df2c7ad11ef3d195349471
Author: Andrei Zavada <hmmr at ra>
Date: Sun Jun 14 20:08:59 2015 +0300
expdesign: always purge cached profiles on new app version
---
upstream/src/aghermann/expdesign/expdesign.cc | 1 +
1 file changed, 1 insertion(+)
diff --git a/upstream/src/aghermann/expdesign/expdesign.cc b/upstream/src/aghermann/expdesign/expdesign.cc
index 31b2975..4d57397 100644
--- a/upstream/src/aghermann/expdesign/expdesign.cc
+++ b/upstream/src/aghermann/expdesign/expdesign.cc
@@ -122,6 +122,7 @@ CExpDesign (const string& session_dir_,
#endif
if ( last_used_version != VERSION ) {
APPLOG_INFO( "Purging old files as we are upgrading from version %s to %s", last_used_version.c_str(), VERSION);
+ purge_cached_profiles();
}
// last_used_version = VERSION;
/// leave it so SExpDesignUI::populate will see it and pop the changelog
--
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/debian-med/aghermann.git
More information about the debian-med-commit
mailing list