Skip to content
Browse files

remove unused attributes and methods

  • Loading branch information...
1 parent 55c1cb9 commit ed26fe44b0a3a44bd736556655425fdc2472f3e9 @sergiocharpineljr sergiocharpineljr committed Aug 18, 2012
View
13 ispdb/config/models.py
@@ -45,15 +45,6 @@ class DomainRequest(models.Model):
def __str__(self): return str(self.name)
def __unicode__(self): return self.name
-def constructXMLTag(name):
- if '_' in name:
- firstword, others = name.split('_', 1)
- words = others.split('_')
- xmlfield = firstword + ''.join([word.capitalize() for word in words])
- else:
- xmlfield = name
- return xmlfield
-
class Config(models.Model):
"""
A Config object contains all of the metadata about a configuration.
@@ -170,8 +161,6 @@ def __unicode__(self):
outgoing_use_global_preferred_server = models.BooleanField(
verbose_name="Use global server instead")
- flagged_as_incorrect = models.BooleanField()
- flagged_by_email = models.EmailField(blank=True)
locked = models.BooleanField()
history = audit.AuditTrail()
@@ -736,8 +725,6 @@ class Meta:
'last_status',
'deleted_datetime',
'email_provider_id',
- 'flagged_as_incorrect',
- 'flagged_by_email',
'outgoing_add_this_server',
'outgoing_use_global_preferred_server',
'owner',
View
8 ispdb/fixtures/domain_testdata.json
@@ -40,8 +40,6 @@
"outgoing_username_form": "test",
"incoming_socket_type": "plain",
"outgoing_port": 465,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-encrypted",
"email_provider_id": "",
"owner": 1,
@@ -71,8 +69,6 @@
"outgoing_username_form": "Valid Domain",
"incoming_socket_type": "plain",
"outgoing_port": 587,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-encrypted",
"email_provider_id": "",
"owner": 1,
@@ -102,8 +98,6 @@
"outgoing_username_form": "test",
"incoming_socket_type": "plain",
"outgoing_port": 587,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-encrypted",
"email_provider_id": "",
"owner": 1,
@@ -133,8 +127,6 @@
"outgoing_username_form": "test",
"incoming_socket_type": "plain",
"outgoing_port": 587,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-encrypted",
"email_provider_id": "",
"owner": 1,
View
2 ispdb/fixtures/issue_testdata.json
@@ -14,8 +14,6 @@
"outgoing_username_form": "%EMAILLOCALPART%",
"incoming_socket_type": "plain",
"outgoing_port": 587,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-encrypted",
"email_provider_id": "",
"owner": 1,
View
2 ispdb/fixtures/sanity.json
@@ -22,8 +22,6 @@
"outgoing_username_form": "%EMAILLOCALPART%",
"incoming_socket_type": "SSL",
"outgoing_port": 465,
- "flagged_by_email": "",
- "flagged_as_incorrect": false,
"incoming_authentication": "password-cleartext",
"email_provider_id": "",
"owner": 2,
View
2 ispdb/fixtures/xml_testdata.json
@@ -14,8 +14,6 @@
"outgoing_use_global_preferred_server":false,
"incoming_socket_type":"SSL",
"outgoing_port":25,
- "flagged_by_email":"",
- "flagged_as_incorrect":false,
"email_provider_id":"test.com",
"incoming_authentication":"password-cleartext",
"display_name":"NetZero Email",

0 comments on commit ed26fe4

Please sign in to comment.
Something went wrong with that request. Please try again.