[cwconfig] Drop shared_dir method 3.26
authorDenis Laxalde <denis.laxalde@logilab.fr>
Thu, 15 Feb 2018 10:11:16 +0100
branch3.26
changeset 12269 f607080b82a9
parent 12268 d84bc85f7f70
child 12270 0e89483f50a1
[cwconfig] Drop shared_dir method There's no more users of this method. Related to #17132990.
cubicweb/cwconfig.py
doc/changes/3.26.rst
--- 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.