* @ingroup ExternalStorage
*/
class ExternalStoreHttp extends ExternalStoreMedium {
- /**
- * @see ExternalStoreMedium::fetchFromURL()
- */
public function fetchFromURL( $url ) {
return Http::get( $url, [], __METHOD__ );
}
- /**
- * @see ExternalStoreMedium::store()
- */
- public function store( $cluster, $data ) {
+ public function store( $location, $data ) {
throw new MWException( "ExternalStoreHttp is read-only and does not support store()." );
}
+
+ public function isReadOnly( $location ) {
+ return true;
+ }
}