Changeset 1348 for trunk/lib/Stats.cc


Ignore:
Timestamp:
Mar 26, 2011, 2:52:14 AM (11 years ago)
Author:
Peter Johansson
Message:

include 'copyright string' in cache. fixes #496

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/lib/Stats.cc

    r1309 r1348  
    44  Copyright (C) 2005 Peter Johansson
    55  Copyright (C) 2006, 2007, 2008, 2009 Jari Häkkinen, Peter Johansson
    6   Copyright (C) 2010 Peter Johansson
     6  Copyright (C) 2010, 2011 Peter Johansson
    77
    88  This file is part of svndigest, http://dev.thep.lu.se/svndigest
     
    6666        ss << codon->first << codon->second;
    6767    }
     68    // avoid including copyright string if default is used
     69    if (Configuration::instance().copyright_string() != "Copyright (C)")
     70      ss << Configuration::instance().copyright_string();
    6871    config_code_ = ss.str();
    6972    // we don't allow newline in codon because we parse the string
Note: See TracChangeset for help on using the changeset viewer.