Opened 9 years ago
Closed 9 years ago
#41805 closed enhancement (fixed)
Use get_network in populate_network function
| Reported by: | spacedmonkey | Owned by: | flixos90 |
|---|---|---|---|
| Priority: | normal | Milestone: | 4.9 |
| Component: | Networks and Sites | Version: | |
| Severity: | normal | Keywords: | has-patch |
| Cc: | Focuses: | multisite |
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.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
@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.