2012-05-01 11:38:10 +04:00
|
|
|
<?php
|
|
|
|
|
|
|
|
OC_JSON::checkAppEnabled('files_versions');
|
|
|
|
OC_JSON::checkAdminUser();
|
2012-05-02 15:28:56 +04:00
|
|
|
if (OCP\Config::getSystemValue('versions', 'true')=='true') {
|
|
|
|
OCP\Config::setSystemValue('versions', 'false');
|
2012-05-01 11:38:10 +04:00
|
|
|
} else {
|
2012-05-02 15:28:56 +04:00
|
|
|
OCP\Config::setSystemValue('versions', 'true');
|
2012-05-01 11:38:10 +04:00
|
|
|
}
|
|
|
|
|
|
|
|
?>
|