Skip to content
Snippets Groups Projects
Commit cc4b36aa authored by Rasmus Fuhse's avatar Rasmus Fuhse
Browse files

use another navigation

parent 96dceb20
No related branches found
No related tags found
No related merge requests found
...@@ -6,8 +6,10 @@ class ConfigureController extends PluginController ...@@ -6,8 +6,10 @@ class ConfigureController extends PluginController
{ {
if (Navigation::hasItem("/profile/files/OwnCloudPlugin")) { if (Navigation::hasItem("/profile/files/OwnCloudPlugin")) {
Navigation::activateItem('/profile/files/OwnCloudPlugin'); Navigation::activateItem('/profile/files/OwnCloudPlugin');
} else { } elseif(Navigation::hasItem('/profile/files')) {
Navigation::activateItem('/profile/files'); Navigation::activateItem('/profile/files');
} else {
Navigation::activateItem('/files_dashboard/files');
} }
PageLayout::setTitle(Config::get()->OWNCLOUD_NAME); PageLayout::setTitle(Config::get()->OWNCLOUD_NAME);
if (Request::isPost() && Request::submitted("remove")) { if (Request::isPost() && Request::submitted("remove")) {
......
pluginname=OwnCloudPlugin pluginname=OwnCloudPlugin
pluginclassname=OwnCloudPlugin pluginclassname=OwnCloudPlugin
version=1.2 version=1.2.1
origin=data-quest origin=data-quest
studipMinVersion=4.0 studipMinVersion=4.0
\ No newline at end of file
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment