[BUGFIX] replace includeLibs from first level to the USER_INT cObject.
authorIvan Kartolo <ivan.kartolo@gmail.com>
Fri, 15 Apr 2016 12:30:53 +0000 (14:30 +0200)
committerIvan Kartolo <ivan.kartolo@gmail.com>
Fri, 15 Apr 2016 12:30:53 +0000 (14:30 +0200)
This fixes Github #4

Releases: master
Change-Id: I00c2f6f4e2e817a66974a33061630b0ca29b98b8

static/setup.txt

index 3719a0b..42b17ba 100644 (file)
@@ -1,4 +1,3 @@
-includeLibs.directmailsubscribe = EXT:direct_mail_subscription/pi/class.dmailsubscribe.php
 plugin.feadmin.dmailsubscription >
 plugin.feadmin.dmailsubscription = USER_INT
 plugin.feadmin.dmailsubscription {
@@ -8,9 +7,10 @@ plugin.feadmin.dmailsubscription {
        templateFile ={$plugin.feadmin.dmailsubscription.file.templateFile}
 
        cObjects {
-               CATLIST = USER
-               CATLIST.userFunc = user_dmailsubscribe->makeCheckboxes
+               CATLIST = USER_INT
                CATLIST {
+                       includeLibs = EXT:direct_mail_subscription/pi/class.dmailsubscribe.php
+                       userFunc = user_dmailsubscribe->makeCheckboxes
                        templateFile = {$plugin.feadmin.dmailsubscription.file.templateFile}
                        pid = {$plugin.feadmin.dmailsubscription.pid}
                        hideNonTranslatedCategories = 0