summaryrefslogtreecommitdiffstats
path: root/apps/contacts/ajax
diff options
context:
space:
mode:
authorThomas Tanghus <thomas@tanghus.net>2012-06-13 18:57:12 +0200
committerThomas Tanghus <thomas@tanghus.net>2012-06-13 18:57:12 +0200
commitd33d599b1b05d7c267fed48cabe63461cd62db9f (patch)
tree0068368d349797fd57859990185a1046faf5d9b0 /apps/contacts/ajax
parentbc1e8cb0a2ef634949ae520c6aedab435eaf5b80 (diff)
downloadnextcloud-server-d33d599b1b05d7c267fed48cabe63461cd62db9f.tar.gz
nextcloud-server-d33d599b1b05d7c267fed48cabe63461cd62db9f.zip
Remove debug statements.
Diffstat (limited to 'apps/contacts/ajax')
-rw-r--r--apps/contacts/ajax/addproperty.php9
-rw-r--r--apps/contacts/ajax/saveproperty.php10
2 files changed, 0 insertions, 19 deletions
diff --git a/apps/contacts/ajax/addproperty.php b/apps/contacts/ajax/addproperty.php
index c1fca9abea8..f888b94e386 100644
--- a/apps/contacts/ajax/addproperty.php
+++ b/apps/contacts/ajax/addproperty.php
@@ -23,15 +23,6 @@
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
-foreach($_SERVER as $key=>$value) {
- OCP\Util::writeLog('contacts','ajax/saveproperty.php: _SERVER: '.$key.'=>'.print_r($value, true), OCP\Util::DEBUG);
-}
-foreach($_POST as $key=>$value) {
- OCP\Util::writeLog('contacts','ajax/saveproperty.php: _POST: '.$key.'=>'.print_r($value, true), OCP\Util::DEBUG);
-}
-foreach($_GET as $key=>$value) {
- OCP\Util::writeLog('contacts','ajax/saveproperty.php: _GET: '.$key.'=>'.print_r($value, true), OCP\Util::DEBUG);
-}
OCP\JSON::callCheck();
function bailOut($msg) {
diff --git a/apps/contacts/ajax/saveproperty.php b/apps/contacts/ajax/saveproperty.php
index c779c496116..6ee9ec90b56 100644
--- a/apps/contacts/ajax/saveproperty.php
+++ b/apps/contacts/ajax/saveproperty.php
@@ -32,16 +32,6 @@ function debug($msg) {
// Check if we are a user
OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts');
-
-foreach($_SERVER as $key=>$value) {
- debug('_SERVER: '.$key.'=>'.print_r($value, true));
-}
-foreach($_POST as $key=>$value) {
- debug('_POST: '.$key.'=>'.print_r($value, true));
-}
-foreach($_GET as $key=>$value) {
- debug('_GET: '.$key.'=>'.print_r($value, true));
-}
OCP\JSON::callCheck();
$id = isset($_POST['id'])?$_POST['id']:null;