You are here

function oembedcore_provider_delete in oEmbed 6.0

Remove a provider.

File

./oembedcore.module, line 514
Core functionality for oEmbed

Code

function oembedcore_provider_delete($provider) {
  db_query("DELETE FROM {oembedcore_provider} WHERE name = '%s' AND pid = %d", $provider->name, $provider->pid);
  cache_clear_all('oembedcore:providers', 'cache');
}