Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

disable layout on pinbackAction

  • Loading branch information...
commit 321ccf515d5a88fed81b1e24c52e07b987c94566 1 parent 9f24ae6
@white-gecko white-gecko authored
Showing with 3 additions and 1 deletion.
  1. +3 −1 extensions/pingback/PingbackController.php
View
4 extensions/pingback/PingbackController.php
@@ -32,6 +32,9 @@ public function pingAction()
{
$this->_logInfo('Pingback Server Init.');
+ $this->_helper->viewRenderer->setNoRender();
+ $this->_helper->layout->disableLayout();
+
$this->_owApp->appendMessage(
new OntoWiki_Message('Ping received.', OntoWiki_Message::INFO)
);
@@ -144,7 +147,6 @@ public function ping($sourceUri, $targetUri)
}
}
-
// 4. If still nothing was found, the sourceUri does not contain any link to targetUri
if (count($foundPingbackTriples) === 0) {
// Remove all existing pingback triples from that sourceUri.
Please sign in to comment.
Something went wrong with that request. Please try again.