Removes COD settings options.

Use this in case you change your mind and want to remove the COD settings you previously set.
5823
public function resetCodSettings(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#CODSettings#",$op)){
                unset($this->options[$op]);
            }
        }
    }
212318
private function resetAsins(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#ASINList#",$op)){
                unset($this->options[$op]);
            }
        }
    }
409572
public function clear()
    {
        $this->id = null;
        $this->code = null;
        $this->driver_code = null;
        $this->title = null;
        $this->serialized_configuration = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
616568
public function cleanopt() {
        unset($this->options['CURLOPT_HTTPGET']);
        unset($this->options['CURLOPT_POST']);
        unset($this->options['CURLOPT_POSTFIELDS']);
        unset($this->options['CURLOPT_PUT']);
        unset($this->options['CURLOPT_INFILE']);
        unset($this->options['CURLOPT_INFILESIZE']);
        unset($this->options['CURLOPT_CUSTOMREQUEST']);
        unset($this->options['CURLOPT_FILE']);
    }
1134041
public function clear()
    {
        if (null !== $this->aSport) {
            $this->aSport->removeSkill($this);
        }
        if (null !== $this->aVariationOf) {
            $this->aVariationOf->removeVariation($this);
        }
        if (null !== $this->aMultipleOf) {
            $this->aMultipleOf->removeMultiple($this);
        }
        if (null !== $this->aObject) {
            $this->aObject->removeSkill($this);
        }
        if (null !== $this->aStartPosition) {
            $this->aStartPosition->removeSkillRelatedByStartPositionId($this);
        }
        if (null !== $this->aEndPosition) {
            $this->aEndPosition->removeSkillRelatedByEndPositionId($this);
        }
        if (null !== $this->aFeaturedPicture) {
            $this->aFeaturedPicture->removeFeaturedSkill($this);
        }
        if (null !== $this->aFeaturedVideo) {
            $this->aFeaturedVideo->removeFeaturedSkill($this);
        }
        if (null !== $this->aFeaturedTutorial) {
            $this->aFeaturedTutorial->removeFeaturedTutorialSkill($this);
        }
        if (null !== $this->aKstrukturRoot) {
            $this->aKstrukturRoot->removeRootSkill($this);
        }
        if (null !== $this->aFunctionPhaseRoot) {
            $this->aFunctionPhaseRoot->removeRootSkill($this);
        }
        $this->id = null;
        $this->sport_id = null;
        $this->name = null;
        $this->alternative_name = null;
        $this->slug = null;
        $this->description = null;
        $this->history = null;
        $this->is_translation = null;
        $this->is_rotation = null;
        $this->is_acyclic = null;
        $this->is_cyclic = null;
        $this->longitudinal_flags = null;
        $this->latitudinal_flags = null;
        $this->transversal_flags = null;
        $this->movement_description = null;
        $this->sequence_picture_url = null;
        $this->variation_of_id = null;
        $this->start_position_id = null;
        $this->end_position_id = null;
        $this->is_composite = null;
        $this->is_multiple = null;
        $this->multiple_of_id = null;
        $this->multiplier = null;
        $this->generation = null;
        $this->importance = null;
        $this->picture_id = null;
        $this->video_id = null;
        $this->tutorial_id = null;
        $this->kstruktur_id = null;
        $this->function_phase_id = null;
        $this->object_id = null;
        $this->version = null;
        $this->version_created_at = null;
        $this->version_comment = null;
        $this->alreadyInSave = false;
        $this->clearAllReferences();
        $this->applyDefaultValues();
        $this->resetModified();
        $this->setNew(true);
        $this->setDeleted(false);
    }
314251
public function resetMarketplaces(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#MarketplaceIdList#",$op)){
                unset($this->options[$op]);
            }
        }
    }
4167
protected function deleteOptions()
    {
        $WpDb = $this->s::wpDb();

        if ($this->Wp->is_multisite && $this->site_counter === 1) {
            $sql = /* Delete network options. */ '
                    DELETE
                        FROM `'.esc_sql($WpDb->sitemeta).'`
                    WHERE
                        `meta_key` LIKE %s
                        OR `meta_key` LIKE %s
                ';
            $like1 = $WpDb->esc_like($this->App->Config->©brand['©var'].'_').'%';
            $like2 = '%'.$WpDb->esc_like('_'.$this->App->Config->©brand['©var'].'_').'%';

            $WpDb->query($WpDb->prepare($sql, $like1, $like2));
        }
        $sql = /* Delete options. */ '
                DELETE
                    FROM `'.esc_sql($WpDb->options).'`
                WHERE
                    `option_name` LIKE %s
                    OR `option_name` LIKE %s
            ';
        $like1 = $WpDb->esc_like($this->App->Config->©brand['©var'].'_').'%';
        $like2 = '%'.$WpDb->esc_like('_'.$this->App->Config->©brand['©var'].'_').'%';

        $WpDb->query($WpDb->prepare($sql, $like1, $like2));
    }
1226052
public function clear()
    {
        unset($this->cc);
        unset($this->bcc);
        unset($this->receivers);
        unset($this->attachments);
        unset($this->contentHTML);
        unset($this->contentPlain);
    }
579397
@Override
	public void removeByCPSpecificationOptionId(long CPSpecificationOptionId) {
		for (CPDefinitionSpecificationOptionValue cpDefinitionSpecificationOptionValue : findByCPSpecificationOptionId(
				CPSpecificationOptionId, QueryUtil.ALL_POS, QueryUtil.ALL_POS,
				null)) {
			remove(cpDefinitionSpecificationOptionValue);
		}
	}
120467
public function remove()
    {
        //if user selected not to update modules, skipping all updates
        if (\OxidEsales\Eshop\Core\Registry::getConfig()->getRequestParameter("noButton")) {
            \OxidEsales\Eshop\Core\Registry::getSession()->setVariable("blSkipDeletedExtChecking", true);

            return;
        }

        $oModuleList = oxNew(\OxidEsales\Eshop\Core\Module\ModuleList::class);
        $oModuleList->cleanup();
    }
1017112
public function resetTfmShipmentStatusFilter(){
        foreach($this->options as $op=>$junk){
            if(preg_match("#TFMShipmentStatus#",$op)){
                unset($this->options[$op]);
            }
        }
    }
1370427
function removeBindings() {
      for (var i = 0; i < this._c.length; i++) {
        this.unbind(this._c[i].children);
      }
    }
93813
private function ClearOptions()
    {
        $sql = Access::SqlBuilder();
        $tblOptions = RadioOption::Schema()->Table();
        $where = $sql->Equals($tblOptions->Field('RadioField'), $sql->Value($this->radio->GetID()));
        RadioOption::Schema()->Delete($where);
    }
1174262
public static function clearOptions()
    {
        foreach (self::$urlOptions as $optionKey => $optionName) {
            Option::delete($optionName);
        }
        Option::delete(self::SCHEDULE_PERIOD_OPTION_NAME);
    }
1210497
def del_option(self, option):
        
        assert isinstance(option, Option)
        while option in list(self._options):
            self._options.remove(option)
344159
public function uninstall()
    {
        $_POST['selected'] = [];

        foreach ((array) $this->plugin as $plugin) {
            $_POST['selected'][] = $plugin->name;
        }

        $_POST['edit_method'] = 'delete';
        ob_start();
        plugin_multi_edit();
        ob_end_clean();
    }
1107711
public function removeDiscCat()
    {
        $config = \OxidEsales\Eshop\Core\Registry::getConfig();
        $categoryIds = $this->_getActionIds('oxobject2discount.oxid');

        if ($config->getRequestParameter('all')) {
            $query = $this->_addFilter("delete oxobject2discount.* " . $this->_getQuery());
            \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->Execute($query);
        } elseif (is_array($categoryIds)) {
            $chosenCategories = implode(", ", \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->quoteArray($categoryIds));
            $query = "delete from oxobject2discount where oxobject2discount.oxid in (" . $chosenCategories . ") ";
            \OxidEsales\Eshop\Core\DatabaseProvider::getDb()->Execute($query);
        }
    }