Add missing paid subscription module checks
authorMatthias Schmidt <gravatronics@live.com>
Fri, 26 Dec 2014 09:23:36 +0000 (10:23 +0100)
committerMatthias Schmidt <gravatronics@live.com>
Fri, 26 Dec 2014 09:23:36 +0000 (10:23 +0100)
wcfsetup/install/files/lib/acp/form/PaidSubscriptionAddForm.class.php
wcfsetup/install/files/lib/acp/form/PaidSubscriptionUserAddForm.class.php
wcfsetup/install/files/lib/acp/page/PaidSubscriptionListPage.class.php
wcfsetup/install/files/lib/acp/page/PaidSubscriptionTransactionLogListPage.class.php
wcfsetup/install/files/lib/acp/page/PaidSubscriptionTransactionLogPage.class.php
wcfsetup/install/files/lib/acp/page/PaidSubscriptionUserListPage.class.php

index 4d0cceb1718f535620f0084f914b2c85b858e6b9..fafff932931c57c7f6c901cf04b4a679101acb31 100644 (file)
@@ -28,6 +28,11 @@ class PaidSubscriptionAddForm extends AbstractForm {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */
index a83c4ea05f2f6be73cf334fe001c09a6e82831a9..c40a4d2e46ba4891fc60ae8f9795a2d21d5793b6 100644 (file)
@@ -27,6 +27,11 @@ class PaidSubscriptionUserAddForm extends AbstractForm {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */
index 5df9804b5f66c2058d08e179fdd035fbbfcd4a22..3591d1cfce191d7924b36a6415eafee4feddc04e 100644 (file)
@@ -18,6 +18,11 @@ class PaidSubscriptionListPage extends SortablePage {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription.list';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */
index 06450d3873165d85829d6fcf6e1d555af2656e61..0d55ef54dd9491f3a07b26b7ef471fb426718d61 100644 (file)
@@ -21,6 +21,11 @@ class PaidSubscriptionTransactionLogListPage extends SortablePage {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription.transactionLog.list';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */
index 892647d26b94d551f4287c1b0b9da81755ba4eef..585e6f1f2ef797d8bdecf4ba4f57b4c2c3971ad3 100644 (file)
@@ -21,6 +21,11 @@ class PaidSubscriptionTransactionLogPage extends AbstractPage {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */
index 1eed34c952d6936d62b1405126f319571b93879a..e064a19134bb00fbebd202cf61fdc061283bf413 100644 (file)
@@ -18,6 +18,11 @@ class PaidSubscriptionUserListPage extends SortablePage {
         */
        public $activeMenuItem = 'wcf.acp.menu.link.paidSubscription.user.list';
        
+       /**
+        * @see \wcf\page\AbstractPage::$neededModules
+        */
+       public $neededModules = array('MODULE_PAID_SUBSCRIPTION');
+       
        /**
         * @see \wcf\page\AbstractPage::$neededPermissions
         */