Commit af44829c67cdec505fbc6559e853c36384c51ebd
- Diff rendering mode:
- inline
- side by side
MollomPlugin.php
(0 / 2)
|   | |||
| 129 | 129 | $servers = common_config('mollom', 'servers'); | |
| 130 | 130 | ||
| 131 | 131 | if ($servers == NULL) { | |
| 132 | error_log("No server - getting list"); | ||
| 133 | 132 | // Retrieve a list of valid Mollom servers from mollom.com: | |
| 134 | 133 | $servers = $this->xmlrpc('http://xmlrpc.mollom.com/'. MOLLOM_API_VERSION, 'mollom.getServerList', $this->authentication()); | |
| 135 | 134 | ||
| 136 | 135 | // Store the list of servers in the database: | |
| 137 | 136 | // TODO! variable_set('mollom_servers', $servers); | |
| 138 | 137 | } | |
| 139 | error_log("Servers = " . print_r($servers, 1)); | ||
| 140 | 138 | ||
| 141 | 139 | if (is_array($servers)) { | |
| 142 | 140 | // Send the request to the first server, if that fails, try the other servers in the list: |

