Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Themes.php refactoring #578

Merged
merged 18 commits into from Jun 22, 2013
Merged

Themes.php refactoring #578

merged 18 commits into from Jun 22, 2013

Conversation

eurich
Copy link
Member

@eurich eurich commented Jun 22, 2013

  • made prepareThemeEditContext() a method, action_edit_list and action_edit_browse their own subactions (now action_browse and action_themelist)
  • couple of db queries moved to subs (there are still lot's in the Controller, will pick these later)

eurich added 18 commits June 18, 2013 18:37
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
…e the class..

Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
Signed-off-by:Thorsten Eurich <thorsten@eurich.de>
@norv
Copy link
Contributor

norv commented Jun 22, 2013

This is an amazing set of refactorings. The new functions, such as on theme options for example, I'm sure they'll be very useful and their compact to-the-point elegance is a wonderful improvement for that code. As for the linear, understandable, flow now, it yells clean and natural.
I didn't test (or check locally), I admit, but I'll merge it, and mess with it at home so to speak. I even feel excused by the code, lol: this code will be way easier to debug if there's a miss. 👼

norv added a commit that referenced this pull request Jun 22, 2013
@norv norv merged commit 1198967 into elkarte:master Jun 22, 2013
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants