Remove unused get_rule_attr method

pull/605/head
Mark Haines 2016-02-24 16:31:07 +00:00
parent 869580206d
commit 9892d017b2
1 changed files with 0 additions and 8 deletions

View File

@ -200,14 +200,6 @@ class PushRuleRestServlet(ClientV1RestServlet):
else:
raise UnrecognizedRequestError()
def get_rule_attr(self, user_id, namespaced_rule_id, attr):
if attr == 'enabled':
return self.hs.get_datastore().get_push_rule_enabled_by_user_rule_id(
user_id, namespaced_rule_id
)
else:
raise UnrecognizedRequestError()
def _rule_spec_from_path(path):
if len(path) < 2: