Skip to content

Commit

Permalink
= 4.2.7.4 =
Browse files Browse the repository at this point in the history
  • Loading branch information
tungnxt89 committed Nov 28, 2024
1 parent 665ffd0 commit 2c2ceef
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions inc/Models/UserModel.php
Original file line number Diff line number Diff line change
Expand Up @@ -458,10 +458,8 @@ public function get_profile_social( int $user_id = 0 ): array {
* @version 1.0.0
*/
public function save(): UserModel {
// Update cache
$key_cache = "userModel/find/id/{$this->get_id()}";
$lp_course_cache = new LP_Cache();
$lp_course_cache->set_cache( $key_cache, $this );
// Clear caches.
$this->clean_caches();

return $this;
}
Expand Down

0 comments on commit 2c2ceef

Please sign in to comment.