]> source.dussan.org Git - nextcloud-server.git/commitdiff
Remove debug statements.
authorThomas Tanghus <thomas@tanghus.net>
Wed, 13 Jun 2012 16:57:12 +0000 (18:57 +0200)
committerThomas Tanghus <thomas@tanghus.net>
Wed, 13 Jun 2012 16:57:12 +0000 (18:57 +0200)
apps/contacts/ajax/addproperty.php
apps/contacts/ajax/saveproperty.php

index c1fca9abea89dc4fa2acd8225c358eae091cd138..f888b94e386e18cad4c72d58421b6f26cf2b489a 100644 (file)
 // 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) {
index c779c4961160dfb914787cf1ff094f06fedff171..6ee9ec90b56c53c6b0c8886286a7e94b76880a39 100644 (file)
@@ -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;