public function processUpgradeScript(Plugin $plugin, &$log, $installedVersion)
    {
        $script = $plugin->Path .'/upgrade.php';

        if(file_exists($script))
            include_once $script;

    }
public function processUpgradeScript(Plugin $plugin, &$log, $installedVersion)
    {
        $script = $plugin->Path .'/upgrade.php';

        if(file_exists($script))
            include_once $script;

    }
public function processUpgradeScript ( Plugin $ plugin , & $ log , $ installedVersion ) { $ script = $ plugin -> Path . '/upgrade.php' ; if ( file_exists ( $ script ) ) include_once $ script ; }
Runs the upgrade script for the plugin

@param Plugin $plugin The Plugin to analyze
@param string &$log   A helpful string that will be appended with details of actions

@return void
Runs the upgrade script for the plugin