/**
* Returns not upgraded plugins, "hacked" plugins, plugins which loose subscription to json-view
*
* @return void
*/
public function getPluginInformationAction() { $subscriptionService =
$this->container->
get(SubscriptionService::
class);
$pluginLicenseService =
$this->container->
get(PluginLicenceService::
class);
$pluginInformation =
$subscriptionService->
getPluginInformation($this->
Response(),
$this->
Request());
if ($pluginInformation === false
) { try { $pluginInformationStructs =
$pluginLicenseService->
getExpiringLicenses();
$pluginInformation =
new PluginInformationResultStruct($pluginInformationStructs);
} catch (Exception
$e) { $this->
View()->
assign(['success' => false, 'message' =>
$e->
getMessage()]);
return;
}