Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

MINOR: fix typo

  • Loading branch information...
commit 360e9df54e7e9be878df51d4e2d932eed5947464 1 parent 21f7eb1
Mateusz U mateusz authored
Showing with 5 additions and 5 deletions.
  1. +5 −5 model/DataObject.php
10 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();
Please sign in to comment.
Something went wrong with that request. Please try again.