typo: pulizia commenti
This commit is contained in:
@@ -148,11 +148,6 @@ namespace SteamWare
|
||||
// single click --> edit
|
||||
e.Row.Attributes["ondblclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Edit$" + e.Row.RowIndex);
|
||||
e.Row.Attributes["style"] = "cursor:pointer";
|
||||
#if false
|
||||
// single click --> select
|
||||
e.Row.Attributes["onclick"] = Page.ClientScript.GetPostBackClientHyperlink(grView, "Select$" + e.Row.RowIndex);
|
||||
e.Row.Attributes["style"] = "cursor:pointer";
|
||||
#endif
|
||||
}
|
||||
}
|
||||
/// <summary>
|
||||
@@ -167,10 +162,6 @@ namespace SteamWare
|
||||
{
|
||||
grView.UpdateRow(grView.EditIndex, false);
|
||||
}
|
||||
#if false
|
||||
grView.EditIndex = e.NewEditIndex;
|
||||
this.DataBind();
|
||||
#endif
|
||||
}
|
||||
|
||||
|
||||
|
||||
@@ -220,21 +220,6 @@ namespace SteamWare
|
||||
newLogfileName();
|
||||
// scrivo thread safe
|
||||
fatto = WriteToFileThreadSafe(_logfileName, _testo);
|
||||
#if false
|
||||
// aggiunge in append...
|
||||
StreamWriter sw = new StreamWriter(_logfileName, true);
|
||||
try
|
||||
{
|
||||
sw.WriteLine(_testo);
|
||||
sw.Flush();
|
||||
sw.Close();
|
||||
fatto = true;
|
||||
}
|
||||
catch
|
||||
{
|
||||
fatto = false;
|
||||
}
|
||||
#endif
|
||||
return fatto;
|
||||
}
|
||||
|
||||
|
||||
@@ -1848,12 +1848,6 @@ namespace SteamWare
|
||||
catch
|
||||
{ }
|
||||
}
|
||||
#if false
|
||||
else
|
||||
{
|
||||
lg.Error("Server REDIS non disponibile (redSaveHashList)");
|
||||
}
|
||||
#endif
|
||||
return answ;
|
||||
}
|
||||
/// <summary>
|
||||
|
||||
@@ -619,23 +619,6 @@ namespace SteamWare
|
||||
port = memLayer.ML.CRI("_PortSSL");
|
||||
}
|
||||
|
||||
#if false
|
||||
var mailer = new MimeMailer(_smtpCli, port);
|
||||
mailer.User = _username;
|
||||
mailer.Password = _password;
|
||||
if (memLayer.ML.CRB("_enableSSL"))
|
||||
{
|
||||
mailer.SslType = SslMode.Tls;
|
||||
//mailer.SslType = SslMode.Ssl;
|
||||
}
|
||||
mailer.AuthenticationMode = AuthenticationType.PlainText;
|
||||
//mailer.AuthenticationMode = AuthenticationType.Base64;
|
||||
|
||||
//Set a delegate function for call back
|
||||
mailer.SendCompleted += compEvent;
|
||||
mailer.SendMailAsync(mymessage);
|
||||
#endif
|
||||
|
||||
var emailer = new SmtpSocketClient();
|
||||
emailer.Host = _smtpCli;
|
||||
emailer.Port = port;
|
||||
|
||||
Reference in New Issue
Block a user