aboutsummaryrefslogblamecommitdiffstats
path: root/vendor/smarty/smarty/docs/programmers/api-functions/api-unregister-cacheresource.md
blob: d097519db5737acab4679339a1ba9f77a132e454 (plain) (tree)



























                                                                     
unregisterCacheResource()

dynamically unregister a CacheResource plugin

Description
===========

void

unregisterCacheResource

string

name

Pass in the `name` of the CacheResource.


    <?php

    $smarty->unregisterCacheResource('mysql');

    ?>

       

See also [`registerCacheResource()`](#api.register.cacheresource) and
the [Custom CacheResource Implementation](#caching.custom) section.