1
0
mirror of https://github.com/owncloudarchive/contacts.git synced 2025-01-19 08:52:22 +01:00

Remove debug statements.

This commit is contained in:
Thomas Tanghus 2012-06-13 18:57:12 +02:00
parent aa73a32b89
commit df9ccd137d
2 changed files with 0 additions and 19 deletions

View File

@ -23,15 +23,6 @@
// Check if we are a user // Check if we are a user
OCP\JSON::checkLoggedIn(); OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts'); 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(); OCP\JSON::callCheck();
function bailOut($msg) { function bailOut($msg) {

View File

@ -32,16 +32,6 @@ function debug($msg) {
// Check if we are a user // Check if we are a user
OCP\JSON::checkLoggedIn(); OCP\JSON::checkLoggedIn();
OCP\JSON::checkAppEnabled('contacts'); 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(); OCP\JSON::callCheck();
$id = isset($_POST['id'])?$_POST['id']:null; $id = isset($_POST['id'])?$_POST['id']:null;