From 70dfc55d34ce69c7d42c7d9c2f35c6fabde485c1 Mon Sep 17 00:00:00 2001 From: Sean Harvey Date: Tue, 26 Aug 2014 14:55:28 +1200 Subject: [PATCH] Minor correction to documentation --- docs/en/reference/flushable.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docs/en/reference/flushable.md b/docs/en/reference/flushable.md index b24634c57..9f2c61815 100644 --- a/docs/en/reference/flushable.md +++ b/docs/en/reference/flushable.md @@ -26,7 +26,7 @@ This example uses `[api:SS_Cache]` in some custom code, and the same cache is cl public function MyCachedContent() { $cache = SS_Cache::factory('mycache') - $something = $cache->get('mykey'); + $something = $cache->load('mykey'); if(!$something) { $something = 'value to be cached'; $cache->save($something);