Permalink
Browse files

fix(cache): internal Stash pool wrapper works again

Stash released a big BC breaking change in 0.14. Until they commit to
SemVer and go 1.0 we can't trust minor version bumps.

Fixes #9374
  • Loading branch information...
mrclay committed Feb 11, 2016
1 parent f352aec commit ddc254e40f9a30a6473f042b7fb686767447a2f0
Showing with 2 additions and 2 deletions.
  1. +1 −1 composer.json
  2. +1 −1 engine/classes/Elgg/Cache/StashPool.php
View
@@ -14,7 +14,7 @@
"ext-xml": "*",
"mrclay/minify": "~2.0",
"knplabs/gaufrette": "~0.1.0",
"tedivm/stash": "~0.12",
"tedivm/stash": "0.14.*",
"ircmaxell/password-compat": "~1.0",
"roave/security-advisories": "dev-master"
},
@@ -41,7 +41,7 @@ public function get($key, callable $callback) {
$result = call_user_func($callback);
$item->set($result);
$this->stash->save($item->set($result));
}
return $result;

0 comments on commit ddc254e

Please sign in to comment.