Verified Commit e3b8a14e authored by Dom Sekotill's avatar Dom Sekotill
Browse files

Remove S3 mock option

The feature is only really useful for limited local testing and would
be of no use to end users, so don't expose it through an entrypoint
option.
parent 5566ac04
Loading
Loading
Loading
Loading
+0 −3
Original line number Diff line number Diff line
@@ -117,9 +117,6 @@ setup_s3() {
	[[ -v S3_ENDPOINT_SECRET ]] ||
		return 0

	[[ -v S3_UPLOADS_USE_LOCAL ]] &&
		wp config set S3_UPLOADS_USE_LOCAL true --raw

	if [[ -v S3_UPLOADS_REWRITE_URL ]]; then
		wp config set S3_UPLOADS_BUCKET_URL "${S3_UPLOADS_REWRITE_URL}"
	else