protected function removeDatabaseScript($code, $version, $script)
    {
        /*
         * Execute the database PHP script
         */
        $updateFile = $this->pluginManager->getPluginPath($code) . '/updates/' . $script;
        $this->updater->packDown($updateFile);

        Db::table('system_plugin_history')
            ->where('code', $code)
            ->where('type', self::HISTORY_TYPE_SCRIPT)
            ->where('version', $version)
            ->where('detail', $script)
            ->delete();
    }
protected function removeDatabaseScript($code, $version, $script)
    {
        /*
         * Execute the database PHP script
         */
        $updateFile = $this->pluginManager->getPluginPath($code) . '/updates/' . $script;
        $this->updater->packDown($updateFile);

        Db::table('system_plugin_history')
            ->where('code', $code)
            ->where('type', self::HISTORY_TYPE_SCRIPT)
            ->where('version', $version)
            ->where('detail', $script)
            ->delete();
    }
protected function removeDatabaseScript ( $ code , $ version , $ script ) { /*
         * Execute the database PHP script
         */ $ updateFile = $ this -> pluginManager -> getPluginPath ( $ code ) . '/updates/' . $ script ; $ this -> updater -> packDown ( $ updateFile ) ; Db :: table ( 'system_plugin_history' ) -> where ( 'code' , $ code ) -> where ( 'type' , self :: HISTORY_TYPE_SCRIPT ) -> where ( 'version' , $ version ) -> where ( 'detail' , $ script ) -> delete ( ) ; }
Removes a database update script in the history table.
Removes a database update script in the history table .