Code Cleanup

- Removed unused timing from the sync command.
This commit is contained in:
Paul Beckingham 2013-07-05 08:58:05 -04:00
parent 16c5314cfa
commit 2aadf445bc

View file

@ -53,9 +53,6 @@ int CmdSync::execute (std::string& output)
{
int status = 0;
#ifdef HAVE_LIBGNUTLS
Timer timer_sync;
timer_sync.start ();
std::stringstream out;
// Loog for the 'init' keyword to indicate one-time pending.data upload.
@ -263,17 +260,6 @@ int CmdSync::execute (std::string& output)
out << "\n";
output = out.str ();
/*
timer_sync.stop ();
std::stringstream s;
s << "Sync "
<< Date ().toISO ()
<< " sync:"
<< timer_sync.total ()
<< "\n";
debug (s.str ());
*/
#else
// Without GnuTLS found at compile time, there is no working sync command.
throw std::string (STRING_CMD_SYNC_NO_TLS);