Opened 7 years ago
Closed 7 years ago
#41805 closed enhancement (fixed)
Use get_network in populate_network function
Reported by: | spacedmonkey | Owned by: | flixos90 |
---|---|---|---|
Milestone: | 4.9 | Priority: | normal |
Severity: | normal | Version: | |
Component: | Networks and Sites | Keywords: | has-patch |
Focuses: | multisite | Cc: |
Description
In populate network there is a raw call to the sites table. This can easily be replaced with a get_network
.
Attachments (2)
Change History (4)
Note: See
TracTickets for help on using
tickets.
@spacedmonkey Good catch! 41805.2.diff uses
get_network()
conditionally. This is needed becausepopulate_network()
may also be used when multisite is being set up and the multisite API is not yet available.