Commit 35292e92 authored by Hanno Schlichting's avatar Hanno Schlichting

Removed deprecated ``read-only-database`` option from zope.conf.

parent 91b15361
......@@ -11,6 +11,8 @@ Trunk (unreleased)
Restructuring
+++++++++++++
- Removed deprecated ``read-only-database`` option from zope.conf.
- Updated copyright and license information to conform with repository policy.
- Moved the ``absoluteurl`` views into the OFS package.
......
......@@ -69,17 +69,6 @@ def database_quota_size(value):
value and _setenv('ZOPE_DATABASE_QUOTA', value)
return value
def read_only_database(value):
# This handler exists only for BBB: using the 'read-only-database'
# directive in a config file is deprecated.
if value is not None:
import warnings
warnings.warn("The 'read-only-database' configuration option is "
"deprecated; please use the correct optoin inside the "
"section defining the appropriate storage.",
DeprecationWarning, stacklevel=2)
return value
def structured_text_header_level(value):
value is not None and _setenv('STX_DEFAULT_LEVEL', value)
return value
......
......@@ -784,16 +784,6 @@
<metadefault>unset</metadefault>
</key>
<key name="read-only-database" datatype="boolean"
handler="read_only_database">
<description>
Deprecated option, no longer has any effect. To configure opening
storages in read-only mode: please use the appropriate flag in the
section which configures each storage.
</description>
<metadefault>off</metadefault>
</key>
<section type="eventlog" name="*" attribute="eventlog">
<description>
Describes what level of log output is desired and where it
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment