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