You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/classes/engine/Contact.php
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -335,7 +335,7 @@ public function delete($id = null)
335
335
$id = $parent;
336
336
}
337
337
338
-
$contactgroup = newEngine\IEContactgroup();
338
+
$contactgroup = newContactgroup();
339
339
$contactgroups = $this->dblink->queryTo2DArray('SELECT '.$contactgroup->getmyKeyColumn().' FROM '.$contactgroup->myTable.' WHERE members LIKE \'%'.$this->getName().'%\'');
340
340
if (count($contactgroups)) {
341
341
foreach ($contactgroupsas$contactgroupID) {
@@ -355,7 +355,7 @@ public function delete($id = null)
355
355
}
356
356
357
357
358
-
$service = newEngine\IEService();
358
+
$service = newService();
359
359
360
360
$services = $this->dblink->queryTo2DArray('SELECT '.$service->getmyKeyColumn().' FROM '.$service->myTable.' WHERE contacts LIKE \'%'.$this->getName().'%\'');
361
361
if (count($services)) {
@@ -374,7 +374,7 @@ public function delete($id = null)
374
374
}
375
375
}
376
376
377
-
$host = newEngine\IEHost();
377
+
$host = newHost();
378
378
379
379
$hosts = $this->dblink->queryTo2DArray('SELECT '.$host->getmyKeyColumn().' FROM '.$host->myTable.' WHERE contacts LIKE \'%'.$this->getName().'%\'');
0 commit comments