Create adata
This commit is contained in:
@@ -42,6 +42,7 @@ class WrenchUserContacts extends BaseController
|
|||||||
$outC = $this->getCache($endpoint); // try find in cache
|
$outC = $this->getCache($endpoint); // try find in cache
|
||||||
|
|
||||||
if (isset($outC) && is_array($outC)){
|
if (isset($outC) && is_array($outC)){
|
||||||
|
log_message('critical', "************* WrenchUserContacts REFRESH 0002 ".serialize($in));
|
||||||
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
||||||
$this->deleteCache($endpoint);
|
$this->deleteCache($endpoint);
|
||||||
$this->saveCache($endpoint,$outC,5300);
|
$this->saveCache($endpoint,$outC,5300);
|
||||||
@@ -49,6 +50,7 @@ class WrenchUserContacts extends BaseController
|
|||||||
else
|
else
|
||||||
{
|
{
|
||||||
// $this->deleteCache($endpoint);
|
// $this->deleteCache($endpoint);
|
||||||
|
log_message('critical', "************* WrenchUserContacts CREATE 0001 ".serialize($in));
|
||||||
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
$outC["raw_contacts_". $in["mmode"]] = $in["raw_contacts"]; // extra store raw
|
||||||
$this->saveCache($endpoint,$outC,5300);
|
$this->saveCache($endpoint,$outC,5300);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user