summaryrefslogtreecommitdiff
path: root/inc/cache.php
diff options
context:
space:
mode:
Diffstat (limited to 'inc/cache.php')
-rw-r--r--inc/cache.php6
1 files changed, 3 insertions, 3 deletions
diff --git a/inc/cache.php b/inc/cache.php
index 3c5dc058e..50ab799e7 100644
--- a/inc/cache.php
+++ b/inc/cache.php
@@ -105,10 +105,10 @@ class cache {
* cache $data
*
* @param string $data the data to be cached
- * @return none
+ * @return bool true on success, false otherwise
*/
function storeCache($data) {
- io_savefile($this->cache, $data);
+ return io_savefile($this->cache, $data);
}
/**
@@ -286,6 +286,6 @@ class cache_instructions extends cache_parser {
}
function storeCache($instructions) {
- io_savefile($this->cache,serialize($instructions));
+ return io_savefile($this->cache,serialize($instructions));
}
}