forgot a file
This commit is contained in:
parent
5193ddd7d7
commit
e409e7cd4c
1 changed files with 11 additions and 0 deletions
11
apps/files_versions/ajax/togglesettings.php
Normal file
11
apps/files_versions/ajax/togglesettings.php
Normal file
|
@ -0,0 +1,11 @@
|
|||
<?php
|
||||
|
||||
OC_JSON::checkAppEnabled('files_versions');
|
||||
OC_JSON::checkAdminUser();
|
||||
if (OC_Config::getValue('versions', 'true')=='true') {
|
||||
OC_Config::setValue('versions', 'false');
|
||||
} else {
|
||||
OC_Config::setValue('versions', 'true');
|
||||
}
|
||||
|
||||
?>
|
Loading…
Reference in a new issue