Projet

Général

Profil

0001-add-missing-substitutions-feed-in-AlternateRoot-8119.patch

Thomas Noël, 26 août 2015 12:16

Télécharger (1,16 ko)

Voir les différences:

Subject: [PATCH] add missing substitutions feed in AlternateRoot (#8119)

 extra/modules/root.py | 3 +++
 1 file changed, 3 insertions(+)
extra/modules/root.py
29 29
from qommon.sms import SMS
30 30
from wcs.categories import Category
31 31
from wcs.formdef import FormDef
32
from wcs.data_sources import NamedDataSource
32 33
from qommon.tokens import Token
33 34
from qommon.admin.emails import EmailsDirectory
34 35
from qommon.admin.texts import TextsDirectory
......
791 792
        return d
792 793

  
793 794
    def _q_traverse(self, path):
795
        get_publisher().substitutions.feed(get_session())
794 796
        get_publisher().substitutions.feed(get_request().user)
797
        get_publisher().substitutions.feed(NamedDataSource)
795 798

  
796 799
        # set app_label to Publik if none was specified (this is used in
797 800
        # backoffice header top line)
798
-