Skip to content

Commit

Permalink
removing unused code
Browse files Browse the repository at this point in the history
  • Loading branch information
edjiang committed Aug 30, 2016
1 parent 7db73aa commit 48f75bc
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Sources/Turnstile/Realm/MemoryRealm.swift
Original file line number Diff line number Diff line change
Expand Up @@ -44,14 +44,6 @@ public class MemoryRealm: Realm {
users[credentials.username] = credentials.password
return MemoryAccount(id: credentials.username)
}

public func getAccount(byID identifier: String) throws -> Account {
guard users[identifier] != nil else {
throw IncorrectCredentialsError()
}

return MemoryAccount(id: identifier)
}
}

/**
Expand Down

0 comments on commit 48f75bc

Please sign in to comment.