diff options
Diffstat (limited to 'apps/files_encryption/settings.php')
-rwxr-xr-x | apps/files_encryption/settings.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/apps/files_encryption/settings.php b/apps/files_encryption/settings.php index facd6580f00..aed9079529c 100755 --- a/apps/files_encryption/settings.php +++ b/apps/files_encryption/settings.php @@ -7,8 +7,8 @@ */ $tmpl = new OC_Template( 'files_encryption', 'settings'); -$blackList=explode(',',OC_Appconfig::getValue('files_encryption','type_blacklist','jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg')); -$enabled=(OC_Appconfig::getValue('files_encryption','enable_encryption','true')=='true'); +$blackList=explode(',',OCP\Config::getAppValue('files_encryption','type_blacklist','jpg,png,jpeg,avi,mpg,mpeg,mkv,mp3,oga,ogv,ogg')); +$enabled=(OCP\Config::getAppValue('files_encryption','enable_encryption','true')=='true'); $tmpl->assign('blacklist',$blackList); $tmpl->assign('encryption_enabled',$enabled); |