From 065015471ac867cdd083d0f970584ea5ba4a9406 Mon Sep 17 00:00:00 2001 From: Thomas Tanghus Date: Tue, 30 Apr 2013 22:39:46 +0200 Subject: [PATCH] Contacts: Fix debug stmts --- lib/controller/contactcontroller.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/lib/controller/contactcontroller.php b/lib/controller/contactcontroller.php index 720e36e5..c22e937d 100644 --- a/lib/controller/contactcontroller.php +++ b/lib/controller/contactcontroller.php @@ -112,8 +112,8 @@ class ContactController extends BaseController { $name = $request->post['name']; $checksum = isset($request->post['checksum']) ? $request->post['checksum'] : null; - $response->debug('contacts_contact_delete_property, name: ' . print_r($name, true)); - $response->debug('contacts_contact_delete_property, checksum: ' . print_r($checksum, true)); + $response->debug(__METHOD__ . ', name: ' . print_r($name, true)); + $response->debug(__METHOD__ . ', checksum: ' . print_r($checksum, true)); $app = new App($request->parameters['user']); $contact = $app->getContact( @@ -171,10 +171,10 @@ class ContactController extends BaseController { $checksum = isset($request->post['checksum']) ? $request->post['checksum'] : null; $parameters = isset($request->post['parameters']) ? $request->post['parameters'] : null; - $response->debug('contacts_contact_delete_property, name: ' . print_r($name, true)); - $response->debug('contacts_contact_save_property, value: ' . print_r($value, true)); - $response->debug('contacts_contact_delete_property, checksum: ' . print_r($checksum, true)); - $response->debug('contacts_contact_save_property, parameters: ' . print_r($parameters, true)); + $response->debug(__METHOD__ . ', name: ' . print_r($name, true)); + $response->debug(__METHOD__ . ', value: ' . print_r($value, true)); + $response->debug(__METHOD__ . ', checksum: ' . print_r($checksum, true)); + $response->debug(__METHOD__ . ', parameters: ' . print_r($parameters, true)); $contact = $app->getContact( $request->parameters['backend'],