Skip to content
This repository has been archived by the owner on Feb 20, 2024. It is now read-only.

Commit

Permalink
added method to flush the cache
Browse files Browse the repository at this point in the history
  • Loading branch information
tomschlick committed Oct 15, 2010
1 parent 5893559 commit 3264cc5
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions libraries/memcached_library.php
Expand Up @@ -194,6 +194,18 @@ public function replace($key = NULL, $value = NULL, $expiration = NULL)
return $this->m->replace($this->key_name($key), $value, $expiration);
}
}
/*
+-------------------------------------+
Name: flush
Purpose: flushes all items from cache
@param return : none
+-------------------------------------+
*/
public function flush()
{
return $this->m->flush();
}

/*
+-------------------------------------+
Name: key_name
Expand Down

0 comments on commit 3264cc5

Please sign in to comment.