Add "[labs]owncloud_suggestions" setting

This commit is contained in:
RainLoop Team 2016-06-17 20:41:28 +03:00
parent 80ab02363e
commit 78fa5b69fb
2 changed files with 2 additions and 1 deletions

View file

@ -325,7 +325,7 @@ class Actions
$mResult = array();
}
if (\is_array($mResult) && \RainLoop\Utils::IsOwnCloud())
if (\is_array($mResult) && \RainLoop\Utils::IsOwnCloud() && $this->Config()->Get('labs', 'owncloud_suggestions', true))
{
// \RainLoop\Providers\Suggestions\ISuggestions
$mResult[] = new \RainLoop\Providers\Suggestions\OwnCloudSuggestions();

View file

@ -425,6 +425,7 @@ Enables caching in the system'),
'favicon_status' => array(true),
'folders_spec_limit' => array(50),
'owncloud_save_folder' => array('Attachments'),
'owncloud_suggestions' => array(true),
'curl_proxy' => array(''),
'curl_proxy_auth' => array(''),
'in_iframe' => array(false),