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
$db->query("select * from {$settings['TABLE']} where {$settings['PREFIX']}_hostname='{$serviceClass->getHostname()}' and {$settings['PREFIX']}_id != {$id} and {$settings['PREFIX']}_status = 'active'", __LINE__, __FILE__);
354
+
if ($db->num_rows() == 0) {
355
+
myadmin_log(self::$module, 'info', "Removing Hanging DNS entry for {$serviceClass->getHostname()}", __LINE__, __FILE__);
356
+
$whm->killdns($serviceClass->getHostname());
357
+
} else
358
+
myadmin_log(self::$module, 'info', "Skipping Removing DNS entry for {$serviceClass->getHostname()} because other non deleted sites w/ the same hostname exist", __LINE__, __FILE__);
359
+
}
360
+
if (trim($serviceClass->getUsername()) == '')
361
+
returntrue;
362
+
elseif ($response->result[0]->status == 1)
363
+
returntrue;
364
+
elseif ($response->result[0]->statusmsg == "System user {$serviceClass->getUsername()} does not exist!")
0 commit comments