1
0
Fork 0
mirror of https://github.com/Yetangitu/ampache synced 2025-10-06 03:49:56 +02:00

Add clear_cache() to database_object

This commit is contained in:
Paul Arthur 2011-06-24 11:53:42 -04:00
parent 998f74ac71
commit 7852811c2a

View file

@ -75,6 +75,13 @@ abstract class database_object {
} // get_info
/**
* clear_cache
*/
public static function clear_cache() {
self::$object_cache = array();
}
/**
* is_cached
* this checks the cache to see if the specified object is there