mirror of
https://github.com/chylex/Nextcloud-News.git
synced 2025-04-09 10:15:44 +02:00
remove admin page
This commit is contained in:
parent
ae42bb1c5f
commit
1df9491ac0
appinfo
@ -53,6 +53,5 @@ $api->addNavigationEntry(array(
|
||||
|
||||
|
||||
$api->addRegularTask('OCA\News\Backgroundjob\Task', 'run');
|
||||
$api->registerAdmin('settings/admin');
|
||||
|
||||
|
||||
|
@ -194,16 +194,6 @@ $this->create('news_usersettings_read_hide', '/usersettings/read/hide')->post()-
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
* Settings
|
||||
*/
|
||||
$this->create('news_setings_auto_purge_limit', '/settings/autopurgelimit')
|
||||
->post()->action(
|
||||
function($params){
|
||||
App::main('SettingsController', 'setAutoPurgeLimit', $params,
|
||||
new DIContainer());
|
||||
}
|
||||
);
|
||||
|
||||
|
||||
/**
|
||||
|
Loading…
Reference in New Issue
Block a user