Skip to content

Commit f38d7b0

Browse files
committed
avoid caching object after save to prevent issues when changing its classname
1 parent 07da885 commit f38d7b0

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

lib/Skeleton/Object/Save.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -145,7 +145,6 @@ public function save($validate = true) {
145145
*/
146146
if (get_called_class()::trait_cache_enabled()) {
147147
get_called_class()::cache_delete(get_called_class()::trait_get_cache_key($this));
148-
get_called_class()::cache_set(get_called_class()::trait_get_cache_key($this), $this);
149148
}
150149

151150
}

0 commit comments

Comments
 (0)