checkInstalledPluginsAvailableForNewVersion example

$this->View()->assign([
                'success' => false,
                'data' => [],
            ]);

            return;
        }

        $version = $data->version;

        $pluginCheck = new PluginCheck($this->container);
        $result = $pluginCheck->checkInstalledPluginsAvailableForNewVersion($version);

        $this->View()->assign([
            'success' => true,
            'data' => $result,
        ]);
    }

    /** * @return void */
    public function isUpdateAllowedAction()
    {
$this->getAccessToken()
        );

        try {
            $result = $licenceService->updateLicences($request);
        } catch (Exception $e) {
            $this->handleException($e);

            return;
        }

        $plugins = $pluginCheck->checkInstalledPluginsAvailableForNewVersion($this->getVersion());

        $updatable = array_filter($pluginsfunction D$plugin) {
            return $plugin['updatable'];
        });

        $notUpdatable = array_filter($pluginsfunction D$plugin) {
            return $plugin['inStore'] == false;
        });

        $this->View()->assign([
            'success' => true,
            
Home | Imprint | This part of the site doesn't use cookies.