Skip to content

Commit

Permalink
[M] Code review and fixing spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
Oscar-Wagento committed Jun 11, 2018
1 parent 4180b6b commit 259f2dd
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 19 deletions.
1 change: 1 addition & 0 deletions src/app/code/community/Zendesk/Zendesk/Helper/Sync.php
Original file line number Diff line number Diff line change
Expand Up @@ -86,6 +86,7 @@ public function getCustomerData($customer){
}
return $user;
}

private function syncData($info)
{
Mage::getModel('zendesk/api_users')->create($info);
Expand Down
2 changes: 1 addition & 1 deletion src/app/code/community/Zendesk/Zendesk/Model/Customer.php
Original file line number Diff line number Diff line change
Expand Up @@ -29,4 +29,4 @@ public function syncronize(){

}
}
}
}
Original file line number Diff line number Diff line change
@@ -1,22 +1,4 @@
<?php
/*$installer = new Mage_Eav_Model_Entity_Setup('core_setup');
$installer->startSetup();
$installer->addAttribute('customer', 'zendesk_id', array(
'group' => 'General',
'label' => 'Zendesk Id',
'input' => 'text',
'type' => 'text',
'required' => 0,
'visible_on_front'=> 1,
'filterable' => 0,
'searchable' => 0,
'comparable' => 0,
'user_defined' => 1,
'is_configurable' => 0,
'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
'note' => '',
));
$installer->endSetup();*/

$installer = new Mage_Eav_Model_Entity_Setup('core_setup');
$installer->startSetup();
Expand Down

0 comments on commit 259f2dd

Please sign in to comment.