Permalink
Browse files

MINOR: fix typo

  • Loading branch information...
mateusz committed Apr 12, 2012
1 parent 21f7eb1 commit 360e9df54e7e9be878df51d4e2d932eed5947464
Showing with 5 additions and 5 deletions.
  1. +5 −5 model/DataObject.php
View
@@ -2659,13 +2659,13 @@ public static function get_one($callerClass, $filter = "", $cache = true, $order
/**
* Flush the cached results for all relations (has_one, has_many, many_many)
* Also clears any cached aggregate data
- *
- * @param boolean $persistant When true will also clear persistant data stored in the Cache system.
+ *
+ * @param boolean $persistent When true will also clear persistent data stored in the Cache system.
* When false will just clear session-local cached data
- *
+ *
*/
- public function flushCache($persistant = true) {
- if($persistant) Aggregate::flushCache($this->class);
+ public function flushCache($persistent = true) {
+ if($persistent) Aggregate::flushCache($this->class);
if($this->class == 'DataObject') {
DataObject::$cache_get_one = array();

0 comments on commit 360e9df

Please sign in to comment.