mirror of
https://github.com/Yetangitu/ampache
synced 2025-10-06 11:59:56 +02:00
Add clear_cache() to database_object
This commit is contained in:
parent
998f74ac71
commit
7852811c2a
1 changed files with 7 additions and 0 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue