diff options
author | Thomas Tanghus <thomas@tanghus.net> | 2012-06-06 00:26:21 +0200 |
---|---|---|
committer | Thomas Tanghus <thomas@tanghus.net> | 2012-06-06 01:06:13 +0200 |
commit | 68670bcc66603540e39c055b8fe8c6a75055b5b0 (patch) | |
tree | 6341deb5fa16e0f70aa48e016e6eb51919398937 /apps/contacts/ajax/editname.php | |
parent | 624f8ae36dc7f61db07da30644e2ca88b0a0de5e (diff) | |
download | nextcloud-server-68670bcc66603540e39c055b8fe8c6a75055b5b0.tar.gz nextcloud-server-68670bcc66603540e39c055b8fe8c6a75055b5b0.zip |
Cleanup.
Diffstat (limited to 'apps/contacts/ajax/editname.php')
-rw-r--r-- | apps/contacts/ajax/editname.php | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/apps/contacts/ajax/editname.php b/apps/contacts/ajax/editname.php index 9ba280ae542..d06d416b7ed 100644 --- a/apps/contacts/ajax/editname.php +++ b/apps/contacts/ajax/editname.php @@ -14,14 +14,11 @@ function bailOut($msg) { OCP\Util::writeLog('contacts','ajax/editname.php: '.$msg, OCP\Util::DEBUG); exit(); } -function debug($msg) { - OCP\Util::writeLog('contacts','ajax/editname.php: '.$msg, OCP\Util::DEBUG); -} $tmpl = new OCP\Template("contacts", "part.edit_name_dialog"); $id = isset($_GET['id'])?$_GET['id']:''; -debug('id: '.$id); + if($id) { $vcard = OC_Contacts_App::getContactVCard($id); $name = array('', '', '', '', ''); |