PluginProbe
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration / trunk
FluentBoards – Project Management, Task Management, Goal Tracking, Kanban Board, and, Team Collaboration vtrunk
2.1.0 2.0.15 2.0.12 2.0.10 2.0.4 2.0.1 2.0.0 1.95.3 1.95.2 1.95 1.91.6 trunk 1.11 1.12 1.13 1.20 1.21 1.22 1.23 1.30 1.31 1.32 1.35 1.40 1.41 All 42 releases
← All changes | app/Models/BoardTerm.php +13 -0 2.0.10trunk View file →
@@ -27,8 +27,21 @@
27 27
28 28 $this->attributes['settings'] = \maybe_serialize($originalSettings);
29 29 }
30 30
31 + /**
32 + * Persist a complete settings payload without merging it with the previous value.
33 + *
34 + * @param array $settings
35 + * @return $this
36 + */
37 + public function replaceSettings($settings)
38 + {
39 + $this->attributes['settings'] = \maybe_serialize((array) $settings);
40 +
41 + return $this;
42 + }
43 +
31 44 public function getSettingsAttribute($settings)
32 45 {
33 46 return maybe_unserialize($settings);
34 47 }