original_string: 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();
      }
code: 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();
      }
code_tokens: 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 ( ) ; }
docstring: Removes a database update script in the history table.
docstring_tokens: Removes a database update script in the history table .