Skip to content

add new site settings with one line instead of multiple.#89

Merged
itinerare merged 3 commits into
lk-arpg:developfrom
DeeP-ci:feature/add-site-settings-simply
Apr 9, 2021
Merged

add new site settings with one line instead of multiple.#89
itinerare merged 3 commits into
lk-arpg:developfrom
DeeP-ci:feature/add-site-settings-simply

Conversation

@DeeP-ci
Copy link
Copy Markdown
Contributor

@DeeP-ci DeeP-ci commented Apr 9, 2021

Site settings can be added with a single line of code instead of having to copy and modify an entire logic block.

Example: $this->addSiteSetting("site_setting_key", 1, "0: does nothing. 1: does something.");

@itinerare itinerare added the needs review Pull requests that are pending community review label Apr 9, 2021
@itinerare itinerare requested a review from Draginraptor April 9, 2021 13:59
@itinerare
Copy link
Copy Markdown
Member

What you have looks good! I think in the interest of reducing redundant code, though, it’d be prudent to change the existing sections adding each setting to use the new function as well.

@itinerare itinerare merged commit 7ca24fe into lk-arpg:develop Apr 9, 2021
@DeeP-ci DeeP-ci deleted the feature/add-site-settings-simply branch January 3, 2024 08:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs review Pull requests that are pending community review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants