summaryrefslogtreecommitdiffstats
path: root/compatibility-server
diff options
context:
space:
mode:
authorAhmed Ashour <asashour@yahoo.com>2017-09-14 08:20:10 +0200
committerHenri Sara <henri.sara@gmail.com>2017-09-14 09:58:33 +0300
commit829c9d725630f2e1f89c2526a4d9f9add1d43731 (patch)
treef08736eae92457a00cf3d3a6acca49cb5dd0bd50 /compatibility-server
parentcaf41dbac44b53c475e20ccc621c80c754033df9 (diff)
downloadvaadin-framework-829c9d725630f2e1f89c2526a4d9f9add1d43731.tar.gz
vaadin-framework-829c9d725630f2e1f89c2526a4d9f9add1d43731.zip
Fix bnd warnings
Diffstat (limited to 'compatibility-server')
-rw-r--r--compatibility-server/bnd.bnd1
1 files changed, 0 insertions, 1 deletions
diff --git a/compatibility-server/bnd.bnd b/compatibility-server/bnd.bnd
index ef841e7d0d..e39fbbcf4d 100644
--- a/compatibility-server/bnd.bnd
+++ b/compatibility-server/bnd.bnd
@@ -3,7 +3,6 @@ Bundle-Name: Vaadin Compatibility Server
Bundle-RequiredExecutionEnvironment: JavaSE-1.8
Bundle-License: http://www.apache.org/licenses/LICENSE-2.0
Import-Package: com.vaadin*;version="[${osgi.bundle.version},${osgi.bundle.version}]",\
- org.osgi*,\
javax.validation*;resolution:=optional;version='${javax.validation.version}',\
*
Export-Package: !com.vaadin.v7.shared*,\
e='backport/46124/stable29'>backport/46124/stable29 Nextcloud server, a safe home for all your data: https://github.com/nextcloud/serverwww-data
aboutsummaryrefslogtreecommitdiffstats
path: root/core/ajax/appconfig.php
blob: 3ad9e2326c317dc88c132ff099d42477119087af (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
<?php
/**
 * Copyright (c) 2011, Robin Appelman <icewind1991@gmail.com>
 * This file is licensed under the Affero General Public License version 3 or later.
 * See the COPYING-README file.
 */

require_once "../../lib/base.php";
OC_Util::checkAdminUser();
OCP\JSON::callCheck();

$action=isset($_POST['action'])?$_POST['action']:$_GET['action'];
$result=false;
switch($action){
	case 'getValue':
		$result=OC_Appconfig::getValue($_GET['app'], $_GET['key'], $_GET['defaultValue']);
		break;
	case 'setValue':
		$result=OC_Appconfig::setValue($_POST['app'], $_POST['key'], $_POST['value']);
		break;
	case 'getApps':
		$result=OC_Appconfig::getApps();
		break;
	case 'getKeys':
		$result=OC_Appconfig::getKeys($_GET['app']);
		break;
	case 'hasKey':
		$result=OC_Appconfig::hasKey($_GET['app'], $_GET['key']);
		break;
	case 'deleteKey':
		$result=OC_Appconfig::deleteKey($_POST['app'], $_POST['key']);
		break;
	case 'deleteApp':
		$result=OC_Appconfig::deleteApp($_POST['app']);
		break;
}
OC_JSON::success(array('data'=>$result));