version 0.3.31
[fms.git] / src / freenet / introductionpuzzleinserter.cpp
index 000d973..0070ec6 100644 (file)
@@ -261,7 +261,8 @@ const bool IntroductionPuzzleInserter::StartInsert(const long &localidentityid)
                m_fcp->Send(message);\r
                m_fcp->Send(std::vector<char>(xmldata.begin(),xmldata.end()));\r
 \r
-               // insert to USK\r
+               // insert to USK - not used, but don't remove code yet\r
+               /*\r
                message.Clear();\r
                message.SetName("ClientPutComplexDir");\r
                message["URI"]="USK"+privatekey.substr(3)+messagebase+"|"+Poco::DateTimeFormatter::format(now,"%Y.%m.%d")+"|IntroductionPuzzle/0/";\r
@@ -272,6 +273,7 @@ const bool IntroductionPuzzleInserter::StartInsert(const long &localidentityid)
                message["Files.0.DataLength"]=xmldatasizestr;\r
                m_fcp->Send(message);\r
                m_fcp->Send(std::vector<char>(xmldata.begin(),xmldata.end()));\r
+               */\r
 \r
                m_db->Execute("INSERT INTO tblIntroductionPuzzleInserts(UUID,Type,MimeType,LocalIdentityID,PuzzleData,PuzzleSolution) VALUES('"+xml.GetUUID()+"','captcha','image/bmp',"+idstring+",'"+encodedpuzzle+"','"+solutionstring+"');");\r
 \r