<?php

/**
 *
 * @author Pawel Rojek <pawel at pawelrojek.com>
 * @author Ian Reinhart Geiser <igeiser at devonit.com>
 *
 * This file is licensed under the Affero General Public License version 3 or later.
 *
 **/

namespace OCA\Drawio\AppInfo;

use OCP\App;

App::registerAdmin("drawio", "settings");

$app = new Application();

<?php

/**
 *
 * @author Pawel Rojek <pawel at pawelrojek.com>
 * @author Ian Reinhart Geiser <igeiser at devonit.com>
 *
 * This file is licensed under the Affero General Public License version 3 or later.
 *
 **/

namespace OCA\Drawio\AppInfo;

use OCP\App;

$app = new Application();

Remove superflous admin section registration.
Remove superflous admin section registration.

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 #4 without causing the issue described in #63.

Signed-off-by: Jan Losinski <577c4104c61edf9f052c616c0c23e67bef4a9955@wh2.tu-dresden.de>
