コード例 #1
0
 /**
  * @param Service|ServiceGroup $s
  * @param bool $rewritexml
  * @param bool $forceAny
  * @return bool
  */
 public function API_remove($s, $rewritexml = true, $forceAny = false)
 {
     $xpath = null;
     if (!$s->isTmpSrv()) {
         $xpath = $s->getXPath();
     }
     $ret = $this->remove($s, $rewritexml, $forceAny);
     if ($ret && !$s->isTmpSrv()) {
         $con = findConnectorOrDie($this);
         $con->sendDeleteRequest($xpath);
     }
     return $ret;
 }