diff options
author | Zach Copley <zach@status.net> | 2010-02-06 06:48:41 +0000 |
---|---|---|
committer | Zach Copley <zach@status.net> | 2010-02-06 06:48:41 +0000 |
commit | fc226a6ad5c4b120858b70d3af4d6f9c288d08d6 (patch) | |
tree | a35918d128f8a70e5e5ab8a4de9c38aae0c4ce7a /lib | |
parent | 70abea3ac4034cbbfc68cdc8288fc7e2d1cea17c (diff) | |
parent | 875e1a70ce231b6b07765210328656abb353ad5b (diff) |
Merge branch 'testing' of git@gitorious.org:statusnet/mainline into testing
Diffstat (limited to 'lib')
-rw-r--r-- | lib/cache.php | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/lib/cache.php b/lib/cache.php index 635c96ad4..df6fc3649 100644 --- a/lib/cache.php +++ b/lib/cache.php @@ -47,6 +47,8 @@ class Cache var $_items = array(); static $_inst = null; + const COMPRESSED = 1; + /** * Singleton constructor * @@ -133,7 +135,7 @@ class Cache * * @param string $key The key to use for lookups * @param string $value The value to store - * @param integer $flag Flags to use, mostly ignored + * @param integer $flag Flags to use, may include Cache::COMPRESSED * @param integer $expiry Expiry value, mostly ignored * * @return boolean success flag |