Remove legacy subscription checking #4715

This commit is contained in:
Jerry (Xinyu Hou) 2015-10-21 17:48:44 -07:00
parent a29858c439
commit ca0237dcc7
1 changed files with 0 additions and 12 deletions

View File

@ -175,18 +175,6 @@ SubscriptionManager::parsePlainSerial(const String& plainText, SubscriptionKey&
return; return;
} }
else if ((parts.size() == 2) && (parts.at(1) == kApplication)) {
key.m_name = parts.at(0);
LOG((CLOG_INFO "subscription is valid, registered to %s",
key.m_name.c_str()));
return;
}
else if ((parts.size() == 2) && (parts.at(0) == kApplication)) {
key.m_name = parts.at(1);
LOG((CLOG_INFO "subscription is valid, registered to %s",
key.m_name.c_str()));
return;
}
throw XSubscription(synergy::string::sprintf("Serial is invalid.")); throw XSubscription(synergy::string::sprintf("Serial is invalid."));
} }