aboutsummaryrefslogtreecommitdiffhomepage
path: root/application
diff options
context:
space:
mode:
authorArthur <arthur@hoa.ro>2016-12-20 11:44:19 +0100
committerGitHub <noreply@github.com>2016-12-20 11:44:19 +0100
commite0177549c760b143efdd17b1579e0c0199dce939 (patch)
treeebe39650f12a80c09f8fae1b87a9d5c4c4141466 /application
parent80677a23e2e10d78bc527e9754286787b453ce61 (diff)
parentdb90dfcbbc406b50381f17a72f24095fee91bb09 (diff)
downloadShaarli-e0177549c760b143efdd17b1579e0c0199dce939.tar.gz
Shaarli-e0177549c760b143efdd17b1579e0c0199dce939.tar.zst
Shaarli-e0177549c760b143efdd17b1579e0c0199dce939.zip
Merge pull request #620 from ArthurHoaro/pubsubhub
Move Pubsubhub to a default plugin
Diffstat (limited to 'application')
-rw-r--r--application/FeedBuilder.php16
1 files changed, 0 insertions, 16 deletions
diff --git a/application/FeedBuilder.php b/application/FeedBuilder.php
index fedd90e6..a1f4da48 100644
--- a/application/FeedBuilder.php
+++ b/application/FeedBuilder.php
@@ -63,11 +63,6 @@ class FeedBuilder
63 protected $hideDates; 63 protected $hideDates;
64 64
65 /** 65 /**
66 * @var string PubSub hub URL.
67 */
68 protected $pubsubhubUrl;
69
70 /**
71 * @var string server locale. 66 * @var string server locale.
72 */ 67 */
73 protected $locale; 68 protected $locale;
@@ -120,7 +115,6 @@ class FeedBuilder
120 } 115 }
121 116
122 $data['language'] = $this->getTypeLanguage(); 117 $data['language'] = $this->getTypeLanguage();
123 $data['pubsubhub_url'] = $this->pubsubhubUrl;
124 $data['last_update'] = $this->getLatestDateFormatted(); 118 $data['last_update'] = $this->getLatestDateFormatted();
125 $data['show_dates'] = !$this->hideDates || $this->isLoggedIn; 119 $data['show_dates'] = !$this->hideDates || $this->isLoggedIn;
126 // Remove leading slash from REQUEST_URI. 120 // Remove leading slash from REQUEST_URI.
@@ -183,16 +177,6 @@ class FeedBuilder
183 } 177 }
184 178
185 /** 179 /**
186 * Assign PubSub hub URL.
187 *
188 * @param string $pubsubhubUrl PubSub hub url.
189 */
190 public function setPubsubhubUrl($pubsubhubUrl)
191 {
192 $this->pubsubhubUrl = $pubsubhubUrl;
193 }
194
195 /**
196 * Set this to true to use permalinks instead of direct links. 180 * Set this to true to use permalinks instead of direct links.
197 * 181 *
198 * @param boolean $usePermalinks true to force permalinks. 182 * @param boolean $usePermalinks true to force permalinks.