[intro] Remove broken url syntax check

This commit is contained in:
Hylke Bons 2010-11-20 15:08:38 +00:00
parent 28fa893e0f
commit 9e6aed2d17

View file

@ -668,10 +668,11 @@ namespace SparkleShare {
return;
bool IsFolder = !FolderEntry.Text.Trim ().Equals ("");
bool IsServer = !ServerEntry.Text.Trim ().Equals ("");
if (ServerEntry.Sensitive == true) {
if (IsGitUrl (ServerEntry.Text) && IsFolder)
if (IsServer && IsFolder)
SyncButton.Sensitive = true;
} else if (IsFolder) {
@ -683,8 +684,6 @@ namespace SparkleShare {
}
// Checks to see if an email address is valid
private bool IsValidEmail (string email)
{
@ -694,15 +693,6 @@ namespace SparkleShare {
}
// Checks if a url is a valid git url TODO: broken
private static bool IsGitUrl (string url)
{
return true;
}
}
}