Skip to content
Snippets Groups Projects
Commit b3af6a05 authored by Omar Mohamad - El Hassan Lopesino's avatar Omar Mohamad - El Hassan Lopesino Committed by Aaron Bauman
Browse files

Issue #3396947 by omarlopesino: Remove debug trace in RestClient service

parent e72ca03b
No related branches found
No related tags found
No related merge requests found
Pipeline #57430 failed
......@@ -460,13 +460,10 @@ class RestClient implements RestClientInterface {
$result = $this->apiCall('sobjects');
$this->cache->set('salesforce:objects', $result, $this->getRequestTime() + $this->getShortTermCacheLifetime(), ['salesforce']);
}
// print_r($result);
$sobjects = [];
// Filter the list by conditions, and assign SF table names as array keys.
foreach ($result['sobjects'] as $object) {
if (empty($object['name'])) {
print_r($object);
}
if (!empty($conditions)) {
foreach ($conditions as $condition => $value) {
if ($object[$condition] == $value) {
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment