Skip to content

Commit fb308be

Browse files
committed
remove some temporary hacks
1 parent fdf0ee4 commit fb308be

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

Sources/PostgreSQL/Database/PostgreSQLDatabase.swift

-18
Original file line numberDiff line numberDiff line change
@@ -33,21 +33,3 @@ extension DatabaseIdentifier {
3333
return .init("psql")
3434
}
3535
}
36-
37-
/// MARK: HACK
38-
39-
import Service
40-
41-
extension DatabaseConnection {
42-
/// See `DatabaseConnectable.connect(to:)`
43-
public func connect<D>(to database: DatabaseIdentifier<D>?) -> Future<D.Connection> {
44-
assert(database == nil)
45-
return Future(self as! D.Connection)
46-
}
47-
}
48-
49-
extension ServiceType {
50-
public static var serviceSupports: [Any.Type] {
51-
return []
52-
}
53-
}

0 commit comments

Comments
 (0)