Commit 4834ba61 authored by Laurent's avatar Laurent

fix typo

parent 4ad90f73
......@@ -157,17 +157,17 @@ class Storm_Model_Loader {
public function getPersistenceStrategy() {
if (isset($this->_persistence_stategy))
return $this->_persistence_stategy;
if (isset($this->_persistence_strategy))
return $this->_persistence_strategy;
$class_name = 'Storm_Model_PersistenceStrategy_' . static::$_default_strategy;
return $this->_persistence_stategy = new $class_name($this);
return $this->_persistence_strategy = new $class_name($this);
}
public function beVolatile() {
if (!$this->getPersistenceStrategy()->isVolatile())
$this->_persistence_stategy = new Storm_Model_PersistenceStrategy_Volatile($this);
$this->_persistence_strategy = new Storm_Model_PersistenceStrategy_Volatile($this);
return $this;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment