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

fix configs of 4.1

parent 2ef1a3ab
No related branches found
No related tags found
No related merge requests found
......@@ -11,7 +11,7 @@
<? if (\Owncloud\OAuth::isReady()) : ?>
<?= MessageBox::info(_("OwnCloud ist verknüpft")) ?>
<? elseif(UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_ENDPOINT_USER) : ?>
<? elseif(UserConfig::get($GLOBALS['user']->id)->OWNCLOUD_ENDPOINT_USER || Config::get()->OWNCLOUD_ENDPOINT) : ?>
<div style="text-align: center;">
<?= \Studip\LinkButton::create(_("OwnCloud für Stud.IP freigeben"), PluginEngine::getURL($plugin, array(), "oauth/request_access_token")) ?>
</div>
......
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