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

Properly fix duplicated admin sections #65

Merged
merged 4 commits into from
Dec 21, 2018

Conversation

janLo
Copy link
Contributor

@janLo janLo commented Dec 12, 2018

This provides a proper fix for tssue #4 and reverts the former fix that caused #63.

This "fix" only worked because it gave an invalid class in info.xml and
prevented a double registration of the admin section with this.

See pawelrojek#63 for details.

This reverts commit b74bf38.
This removes the registerAdmin() call in the App initialization. It is
not necessary as we already declared the admin class in the
appinfo/info.xml. Leaving it there causes the settings to appear twice.

This should finally fix pawelrojek#4 without causing the issue described in pawelrojek#63.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
All the other sections in my instance have an id here.

Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
Signed-off-by: Jan Losinski <losinski@wh2.tu-dresden.de>
@pawelrojek pawelrojek merged commit 7e59da7 into pawelrojek:master Dec 21, 2018
@pawelrojek
Copy link
Owner

Thanks!

@janLo janLo mentioned this pull request Feb 11, 2019
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