[cwconfig] Drop shared_dir method
There's no more users of this method.
Related to #17132990.
--- a/cubicweb/cwconfig.py Thu Feb 15 13:45:06 2018 +0100
+++ b/cubicweb/cwconfig.py Thu Feb 15 10:11:16 2018 +0100
@@ -484,13 +484,6 @@
return Configuration(options=PERSISTENT_OPTIONS)
@classmethod
- def shared_dir(cls):
- """return the shared data directory (i.e. directory where standard
- library views and data may be found)
- """
- return cls.cube_dir('shared')
-
- @classmethod
def i18n_lib_dir(cls):
"""return instance's i18n directory"""
return join(dirname(__file__), 'i18n')
--- a/doc/changes/3.26.rst Thu Feb 15 13:45:06 2018 +0100
+++ b/doc/changes/3.26.rst Thu Feb 15 10:11:16 2018 +0100
@@ -7,3 +7,8 @@
* For ``pyramid`` instance configuration kind, logging is not handled anymore
by CubicWeb but should be configured through ``development.ini`` file
following https://docs.pylonsproject.org/projects/pyramid/en/latest/narr/logging.html.
+
+Backwards incompatible changes
+------------------------------
+
+* CubicWebConfiguration method 'shared_dir' got dropped.