diff options
author | ArthurHoaro <arthur@hoa.ro> | 2016-08-02 11:55:49 +0200 |
---|---|---|
committer | ArthurHoaro <arthur@hoa.ro> | 2016-12-20 11:41:24 +0100 |
commit | db90dfcbbc406b50381f17a72f24095fee91bb09 (patch) | |
tree | ebe39650f12a80c09f8fae1b87a9d5c4c4141466 /application/FeedBuilder.php | |
parent | 085efc33cc0cadaed0c01d926604e219e1d44365 (diff) | |
download | Shaarli-db90dfcbbc406b50381f17a72f24095fee91bb09.tar.gz Shaarli-db90dfcbbc406b50381f17a72f24095fee91bb09.tar.zst Shaarli-db90dfcbbc406b50381f17a72f24095fee91bb09.zip |
Move PubSubHubbub code as a default plugin
Diffstat (limited to 'application/FeedBuilder.php')
-rw-r--r-- | application/FeedBuilder.php | 16 |
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. |