You are here

public function Publisher::removeUpdatedTopicUrl in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php \Zend\Feed\PubSubHubbub\Publisher::removeUpdatedTopicUrl()

Remove an updated topic URL

Parameters

string $url:

Return value

Publisher

File

vendor/zendframework/zend-feed/src/PubSubHubbub/Publisher.php, line 191

Class

Publisher

Namespace

Zend\Feed\PubSubHubbub

Code

public function removeUpdatedTopicUrl($url) {
  if (!in_array($url, $this
    ->getUpdatedTopicUrls())) {
    return $this;
  }
  $key = array_search($url, $this->updatedTopicUrls);
  unset($this->updatedTopicUrls[$key]);
  return $this;
}