]> git.ipfire.org Git - thirdparty/snapper.git/commitdiff
- removed old code
authorArvin Schnell <aschnell@suse.de>
Wed, 6 Apr 2011 07:49:12 +0000 (09:49 +0200)
committerArvin Schnell <aschnell@suse.de>
Wed, 6 Apr 2011 07:49:12 +0000 (09:49 +0200)
snapper/Snapshot.cc

index a2efc67d8e6097bb4a02eacfe8da88a62ae8099e..731f5a0295b6a23cf47c1de4338282e72a50ce2f 100644 (file)
@@ -129,12 +129,7 @@ namespace snapper
 
            if (getChildValue(node, "date", tmp))
            {
-               // TODO: remove someday
-               if (boost::ends_with(tmp, " GMT"))
-                   tmp.erase(19);
-
                assert(tmp.size() == 19);
-
                snapshot.date = scan_datetime(tmp, true);
            }