File tree Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Expand file tree Collapse file tree 3 files changed +2
-19
lines changed Original file line number Diff line number Diff line change @@ -86,6 +86,7 @@ public function getCustomerData($customer){
8686 }
8787 return $ user ;
8888 }
89+
8990 private function syncData ($ info )
9091 {
9192 Mage::getModel ('zendesk/api_users ' )->create ($ info );
Original file line number Diff line number Diff line change @@ -29,4 +29,4 @@ public function syncronize(){
2929
3030 }
3131 }
32- }
32+ }
Original file line number Diff line number Diff line change 11<?php
2- /*$installer = new Mage_Eav_Model_Entity_Setup('core_setup');
3- $installer->startSetup();
4- $installer->addAttribute('customer', 'zendesk_id', array(
5- 'group' => 'General',
6- 'label' => 'Zendesk Id',
7- 'input' => 'text',
8- 'type' => 'text',
9- 'required' => 0,
10- 'visible_on_front'=> 1,
11- 'filterable' => 0,
12- 'searchable' => 0,
13- 'comparable' => 0,
14- 'user_defined' => 1,
15- 'is_configurable' => 0,
16- 'global' => Mage_Catalog_Model_Resource_Eav_Attribute::SCOPE_GLOBAL,
17- 'note' => '',
18- ));
19- $installer->endSetup();*/
202
213$ installer = new Mage_Eav_Model_Entity_Setup ('core_setup ' );
224$ installer ->startSetup ();
You can’t perform that action at this time.
0 commit comments