summaryrefslogtreecommitdiffstats
path: root/admin/WebConsole/includes/restfunctions.php
diff options
context:
space:
mode:
authorJavier Sánchez Parra <jsanchez@soleta.eu>2019-06-12 09:56:41 +0200
committerOpenGnSys Support Team <soporte-og@soleta.eu>2019-06-12 11:01:53 +0200
commit41ceac07c54b251ea9cc79e03e96b2cc525509b4 (patch)
tree5437fa32e4019263b2f962bfa6339d61b3a32869 /admin/WebConsole/includes/restfunctions.php
parentd2a9dd877b97867aa45ae59b34bc7ce7719a530c (diff)
#915 Remove unused parameter to common_request()
Remove unused parameter in REST API infrastructure.
Diffstat (limited to 'admin/WebConsole/includes/restfunctions.php')
-rw-r--r--admin/WebConsole/includes/restfunctions.php2
1 files changed, 1 insertions, 1 deletions
diff --git a/admin/WebConsole/includes/restfunctions.php b/admin/WebConsole/includes/restfunctions.php
index 1650691e..d9ea9a44 100644
--- a/admin/WebConsole/includes/restfunctions.php
+++ b/admin/WebConsole/includes/restfunctions.php
@@ -25,7 +25,7 @@ define('OG_REST_PARAM_RUN', 'run');
define('OG_REST_PARAM_TYPE', 'type');
define('OG_REST_PARAM_STATE', 'state');
-function common_request($command, $type, $data = null, $custom = 'GET') {
+function common_request($command, $type, $data = null) {
$json = json_encode($data);