mirror of
https://github.com/retailcrm/prestashop-module.git
synced 2025-03-01 19:03:14 +03:00
add missed files
This commit is contained in:
parent
bb2ae14646
commit
e05784c3b6
35
composer.json
Normal file
35
composer.json
Normal file
@ -0,0 +1,35 @@
|
||||
{
|
||||
"name": "intarocrm/prestashop-module",
|
||||
"description": "Prestashop integration for IntaroCRM",
|
||||
"type": "library",
|
||||
"keywords": ["api", "Intaro CRM", "rest"],
|
||||
"homepage": "http://www.intarocrm.ru/",
|
||||
"config": {
|
||||
"vendor-dir": "intarocrm/classes"
|
||||
},
|
||||
"authors": [
|
||||
{
|
||||
"name": "Alex Lushpai",
|
||||
"email": "lushpai@intaro.ru",
|
||||
"role": "Developer"
|
||||
}
|
||||
],
|
||||
"support": {
|
||||
"email": "support@intarocrm.ru"
|
||||
},
|
||||
"require": {
|
||||
"php": ">=5.3",
|
||||
"intarocrm/rest-api-client": "1.2.*"
|
||||
},
|
||||
"autoload": {
|
||||
"psr-0": {
|
||||
"": "src/"
|
||||
}
|
||||
},
|
||||
"repositories": [
|
||||
{
|
||||
"type": "git",
|
||||
"url": "https://github.com/intarocrm/rest-api-client"
|
||||
}
|
||||
]
|
||||
}
|
@ -813,9 +813,8 @@ class IntaroCRM extends Module
|
||||
/*
|
||||
* get last sync date
|
||||
*/
|
||||
//$lastSync = Configuration::get('INTAROCRM_LAST_SYNC');
|
||||
$lastSync = Configuration::get('INTAROCRM_LAST_SYNC');
|
||||
|
||||
$lastSync = false;
|
||||
$startFrom = ($lastSync === false) ? null : $lastSync;
|
||||
$endTime = date('Y-m-d H:i:s');
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user