We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4362545 commit 439f3aaCopy full SHA for 439f3aa
core/Cache/Cache.class.php
@@ -58,14 +58,6 @@ public static function me()
58
self::$peer = $peer;
59
}
60
61
- /**
62
- * @return CachePeer
63
- */
64
- public static function getPeer()
65
- {
66
- return self::$peer;
67
- }
68
-
69
/* void */ public static function setDefaultWorker($worker)
70
{
71
Assert::classExists($worker);
core/DB/DB.class.php
@@ -135,7 +135,7 @@ public function begin(
135
136
$this->transaction = true;
137
138
- $this->outOfTransactionCachePeer = Cache::getPeer();
+ $this->outOfTransactionCachePeer = Cache::me();
139
Cache::setPeer(new RuntimeMemory());
140
141
return $this;
0 commit comments