Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Remove obsolete --readonly command line parameter #443

Merged
merged 1 commit into from
Aug 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 0 additions & 4 deletions openstreetmap-cgimap.1
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,6 @@ openstreetmap-cgimap \- FCGI version of the OpenStreetMap API
[\fB\-\-username \fIUSER\fR]
[\fB\-\-password \fIPASS\fR]
[\fB\-\-charset \fICHARSET\fR]
[\fB\-\-readonly\fR]
[\fB\-\-cachesize \fISIZE\fR]
[\fB\-\-dbport \fIPORT\fR]
] [
Expand Down Expand Up @@ -98,9 +97,6 @@ Database password.
Database character set.
Default is utf8.
.TP
.BR \-\-readonly
Use the database in read-only mode.
.TP
.BR \-\-cachesize =\fISIZE\fR
Maximum size of changeset cache.
Default is 1000.
Expand Down
1 change: 0 additions & 1 deletion src/backend/apidb/apidb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@ struct apidb_backend : public backend {
("password", po::value<string>(), "database password")
("charset", po::value<string>()->default_value("utf8"),
"database character set")
("readonly", "(obsolete parameter, read only backend is always assumed)")
("disable-api-write", "disable API write operations")
("dbport", po::value<string>(),
"database port number or UNIX socket file name")
Expand Down