File tree Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Expand file tree Collapse file tree 4 files changed +2
-12
lines changed Original file line number Diff line number Diff line change @@ -81,7 +81,6 @@ private function exportNavs()
8181 ->collections ($ model ->settings ['collections ' ] ?? null )
8282 ->maxDepth ($ model ->settings ['max_depth ' ] ?? null )
8383 ->expectsRoot ($ model ->settings ['expects_root ' ] ?? false )
84- ->initialPath ($ model ->settings ['initial_path ' ] ?? null )
8584 ->save ();
8685 });
8786
@@ -106,7 +105,6 @@ private function exportNavTrees()
106105 ->tree ($ treeModel ->tree )
107106 ->handle ($ treeModel ->handle )
108107 ->locale ($ treeModel ->locale )
109- ->initialPath ($ treeModel ->settings ['initial_path ' ] ?? null )
110108 ->syncOriginal ()
111109 ->save ();
112110 });
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public static function fromModel(Model $model)
1515 ->tree ($ model ->tree )
1616 ->handle ($ model ->handle )
1717 ->locale ($ model ->locale )
18- ->initialPath ($ model ->settings ['initial_path ' ] ?? null )
1918 ->syncOriginal ()
2019 ->model ($ model );
2120 }
@@ -35,9 +34,7 @@ public static function makeModelFromContract($source)
3534 'locale ' => $ source ->locale (),
3635 ])->fill ([
3736 'tree ' => $ source ->tree (),
38- 'settings ' => [
39- 'initial_path ' => $ source ->initialPath (),
40- ],
37+ 'settings ' => [],
4138 ]);
4239 }
4340
Original file line number Diff line number Diff line change @@ -18,7 +18,6 @@ public static function fromModel(Model $model)
1818 ->collections ($ model ->settings ['collections ' ] ?? null )
1919 ->maxDepth ($ model ->settings ['max_depth ' ] ?? null )
2020 ->expectsRoot ($ model ->settings ['expects_root ' ] ?? false )
21- ->initialPath ($ model ->settings ['initial_path ' ] ?? null )
2221 ->model ($ model );
2322 }
2423
@@ -42,7 +41,6 @@ public static function makeModelFromContract(Contract $source)
4241 'collections ' => $ source ->collections ()->map ->handle (),
4342 'max_depth ' => $ source ->maxDepth (),
4443 'expects_root ' => $ source ->expectsRoot (),
45- 'initial_path ' => $ source ->initialPath (),
4644 ],
4745 ]);
4846 }
Original file line number Diff line number Diff line change @@ -15,7 +15,6 @@ public static function fromModel(Model $model)
1515 ->tree ($ model ->tree )
1616 ->handle ($ model ->handle )
1717 ->locale ($ model ->locale )
18- ->initialPath ($ model ->settings ['initial_path ' ] ?? null )
1918 ->syncOriginal ()
2019 ->model ($ model );
2120 }
@@ -37,9 +36,7 @@ public static function makeModelFromContract($source)
3736 'locale ' => $ source ->locale (),
3837 ])->fill ([
3938 'tree ' => ($ isFileEntry || $ source ->model ) ? $ source ->tree () : [],
40- 'settings ' => [
41- 'initial_path ' => $ source ->initialPath (),
42- ],
39+ 'settings ' => [],
4340 ]);
4441 }
4542
You can’t perform that action at this time.
0 commit comments