Remove the backend model of the 'virtual_rule' attribute.

@param \Magento\Eav\Setup\EavSetup $eavSetup EAV module Setup

@return void
481169
public function updateVirtualRuleBackend(\Magento\Eav\Setup\EavSetup $eavSetup)
    {
        // Fix the attribute backend model.
        $eavSetup->updateAttribute(
            Category::ENTITY,
            'virtual_rule',
            'backend_model',
            null
        );
    }
262094
function removeThis()
    {
        $vatID = $this->ID;
        $db = eZDB::instance();
        $db->begin();

        // remove dependent VAT rules
        $dependentRules = eZVatRule::fetchByVatType( $vatID );
        foreach ( $dependentRules as $rule )
        {
            eZVatRule::removeVatRule( $rule->attribute( 'id' ) );
        }

        // replace VAT type in dependent products.
        eZVatType::resetToDefaultInProducts( $vatID );

        // Remove the VAT type itself.
        eZPersistentObject::removeObject( eZVatType::definition(),
                                          array( "id" => $vatID ) );

        $db->commit();
    }
782172
public function removeStale()
    {
        /** @var \Illuminate\Database\Eloquent\Builder $query */
        $query = $this->importer->getModelInstance()
            ->where('updated_at', '<', $this->now)
            ->orWhereNull('updated_at');

        $this->deleted = $query->count();

        $query->delete();
    }
100488
public function remove($fieldName): void
    {
        if (isset($this->mappedByStorageName[$fieldName])) {
            unset($this->mappedByStorageName[$fieldName]);
        }

        parent::remove($fieldName);
    }
1172462
static public function removeByAttribute( $objectAttributeID, $objectAttributeVersion = null )
    {
        if ( !is_numeric( $objectAttributeID ) )
            return;

        $conditions = array( 'objectattribute_id' => (int) $objectAttributeID );
        if ( is_numeric( $objectAttributeVersion ) )
            $conditions['objectattribute_version'] = (int) $objectAttributeVersion;

        parent::removeObject( self::definition(), $conditions );
    }
848916
public function removeElectronicAddress(ElectronicAddress $electronicAddress)
    {
        $this->electronicAddresses->removeElement($electronicAddress);
        if ($electronicAddress === $this->primaryElectronicAddress) {
            $this->primaryElectronicAddress = null;
        }
    }
701079
public function removeAllAction()
    {
        $isPosted = $this->request->getPost('doRemoveAll');
        
        if (!$isPosted) {
            $this->response->redirect($this->request->getPost('redirect'));
        }

        $comments = new \Phpmvc\Comment\CommentsInSession();
        $comments->setDI($this->di);

        $comments->deleteAll();

        $this->response->redirect($this->request->getPost('redirect'));
    }
756034
public function updateDefaultValuesForNameAttributes($eavSetup)
    {
        $setup      = $eavSetup->getSetup();
        $connection = $setup->getConnection();
        $table      = $setup->getTable('catalog_eav_attribute');

        $attributeIds = [
            $eavSetup->getAttributeId(\Magento\Catalog\Model\Product::ENTITY, 'name'),
            $eavSetup->getAttributeId(\Magento\Catalog\Model\Category::ENTITY, 'name'),
        ];

        foreach ($attributeIds as $attributeId) {
            $connection->update(
                $table,
                ['is_used_in_spellcheck' => true],
                $connection->quoteInto('attribute_id = ?', $attributeId)
            );
        }
    }
447407
public function remove($model, $version) {
		$operations = Configure::read('FileStorage.imageSizes.' . $model . '.' . $version);

		if (empty($operations)) {
			$this->out(__d('file_storage', 'Invalid table or version.'));
			$this->_stop();
		}

		try {
			$this->_loop('remove', $model, [$version => $operations]);
		} catch (Exception $e) {
			$this->out($e->getMessage());
			$this->_stop();
		}
	}
988871
def remove_rule(self, name):
        
        self._rule_attrs.remove(name)
        delattr(self, name)
516121
public function remove($name)
    {
        if ($this->rootModule && $name === $this->rootModule->getName()) {
            $this->rootModule = null;
        }

        unset($this->modules[$name]);
    }
638872
public function remove($name)
    {
        $names = (array)$name;

        foreach ($names as $name) {
            if (Arr::key($name, $this->_assets)) {
                unset($this->_assets[$name]);
            }
        }
    }
896358
public function removeAttribute($attributeName)
	{
		if(array_key_exists($attributeName, $this->attributes) === false || in_array($attributeName, $this->lockedAttributes) === true)
			return;
		
		unset($this->attributes[$attributeName]);
	}
860602
private function removeDataFromCoreConfigData($setup, $paths)
    {
        foreach ($paths as $path) {
            $setup->getConnection()
                ->delete($setup->getTable(''), "path='$path'");
        }
    }
71648
public function removePackage($package)
    {
        $config = $this->getContent();
        if (isset($config['require'][$package])) {
            unset($config['require'][$package]);
            $this->setContent($config);
        }
    }
379003
public function removeAttribute($key)
    {
        if (array_key_exists(WebSessionManager::GLOBAL_PREFIX.$key, $this->_sessObject)) {
            unset($this->_sessObject[WebSessionManager::GLOBAL_PREFIX.$key]);
        }

    }
1002812
public static function remove_module( $module ) {
		$key = array_search( $module, self::$modules, true );
		if ( false !== $key ) {
			unset( self::$modules[ $key ] );
		}
	}