mirror of
https://github.com/Pathduck/gallery3.git
synced 2026-06-20 00:29:53 -04:00
Change model_cache::clear() API to clear everything. This prevents
old ORM relationships from hanging around, which was causing problems when doing MPTT manipulations (resulting in incorrect permission propagation-- very bad!)
This commit is contained in:
@@ -285,6 +285,7 @@ class ORM_MPTT_Core extends ORM {
|
||||
|
||||
// Lets reload to get the changes.
|
||||
$this->reload();
|
||||
$target->reload();
|
||||
return $this;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user