joomla/joomla-cms — pull request #4323 by Fedik (2014-09-22 11:06:28+00:00)
Title: Do not create the admin menu item if the component has no admin files

**Problem**
Joomla! create a useless menu item for backend, when I create a simple component (with only a site part) that have no backend.

**How to test this pull**
Make a simple component, and try install it. Create folder `com_hello`, and put there two files `hello.php` (empty) and `hello.xml`

`hello.xml` content for test the component without backed:
```xml

com_hello
Your Name
your.email@example.com
example.com
September 2014
GNU/GPL
1.0.0
Simple Hello component

hello.php

```

`hello.xml` content for test the component with backed:

```xml

com_hello
Your Name
your.email@example.com
example.com
September 2014
GNU/GPL
1.0.0
Simple Hello component

hello.php

```

Pack this to archive and try install.
After installation, check the admin menu Components->com-hello. It should not exist when test with the first XML, and exist for a second.