* @return bool Success indicator
*/
public function saveSite( Site $site ) {
- return $this->saveSites( array( $site ) );
+ return $this->saveSites( [ $site ] );
}
/**
}
/**
- * Purges the internal and external cache of the site list, forcing the list
+ * Purges the internal and external cache of the site list, forcing the list.
* of sites to be reloaded.
*
+ * Only use this for testing, as APC is typically used and is per-server
+ *
* @since 1.25
*/
public function reset() {
/**
* Clears the list of sites stored.
*
+ * Only use this for testing, as APC is typically used and is per-server.
+ *
* @see SiteStore::clear()
*
* @return bool Success