| @@ -36,15 +36,8 @@ | ||
| 36 | 36 | * put your comment there... |
| 37 | 37 | * |
| 38 | 38 | * @var mixed |
| 39 | 39 | */ |
| 40 | - protected $licenseTypes; | |
| 41 | - | |
| 42 | - /** | |
| 43 | - * put your comment there... | |
| 44 | - * | |
| 45 | - * @var mixed | |
| 46 | - */ | |
| 47 | 40 | protected $securityToken; |
| 48 | 41 | |
| 49 | 42 | /** |
| 50 | 43 | * put your comment there... |
| @@ -57,10 +50,9 @@ | ||
| 57 | 50 | // Set vars! |
| 58 | 51 | $this->securityToken = cssJSToolbox::getSecurityToken(); |
| 59 | 52 | $this->component = $this->getRequestParameter('component'); |
| 60 | 53 | $this->cjtWebSite = cssJSToolbox::getCJTWebSiteURL(); |
| 61 | - $this->licenseTypes = $model->getExtensionProductTypes($this->component); | |
| 62 | - $this->license = $model->getStateStruct($this->licenseTypes, 'license'); | |
| 54 | + $this->license = $model->getStateStruct($this->component, 'license'); | |
| 63 | 55 | // Display view. |
| 64 | 56 | echo $this->getTemplate($tpl); |
| 65 | 57 | } |
| 66 | 58 | |