2012-05-01 11:38:10 +04:00
|
|
|
<?php
|
|
|
|
|
2012-05-03 14:23:29 +04:00
|
|
|
OCP\JSON::checkAppEnabled('files_versions');
|
|
|
|
OCP\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
|
|
|
}
|
|
|
|
|
|
|
|
?>
|