Welcome to mirror list, hosted at ThFree Co, Russian Federation.

togglesettings.php « ajax « files_versions « apps - github.com/nextcloud/server.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 86f614c5c8996618f46db964fbe6417be0babbff (plain)
1
2
3
4
5
6
7
8
9
<?php

OCP\JSON::checkAppEnabled('files_versions');
OCP\JSON::checkAdminUser();
if (OCP\Config::getSystemValue('versions', 'true')=='true') {
	OCP\Config::setSystemValue('versions', 'false');
} else {
	OCP\Config::setSystemValue('versions', 'true');
}