Skip to content

Commit 3abf36e

Browse files
committed
Remove unused property
1 parent b912ff2 commit 3abf36e

File tree

4 files changed

+0
-4
lines changed

4 files changed

+0
-4
lines changed

lib/Creator/FeedCreator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -53,7 +53,6 @@ abstract class FeedCreator extends HtmlDescribable
5353
protected $encoding = "UTF-8"; //"ISO-8859-1";
5454

5555
protected $_timeout; # lib/Creator/FeedCreator.php line 238
56-
protected $truncSize; # lib/Creator/PIECreator01.php line 29
5756

5857
/**
5958
* Any additional elements to include as an associated array. All $key => $value pairs

lib/Creator/KMLCreator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ public function createFeed()
5959
$feed .= " <name>".FeedCreator::iTrunc(htmlspecialchars($this->title), 100)."</name>
6060
<description>".$this->getDescription()."</description>
6161
<visibility>1</visibility>\n";
62-
$this->truncSize = 500;
6362

6463
for ($i = 0; $i < count($this->items); $i++) {
6564
//added here beucase description gets auto surrounded by cdata

lib/Creator/PHPCreator.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,6 @@ public function createFeed()
2424
$feed = "<?php\n";
2525
$feed .= "class FeedItem {}\n";
2626
$feed .= " \$feedTitle='".addslashes(FeedCreator::iTrunc(htmlspecialchars($this->title), 100))."';\n";
27-
$this->truncSize = 500;
2827
$feed .= " \$feedDescription='".addslashes($this->getDescription())."';\n";
2928
$feed .= " \$feedLink='".$this->link."';\n";
3029
$feed .= " \$feedItem = array();\n";

lib/Creator/PIECreator01.php

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -26,7 +26,6 @@ public function createFeed()
2626
$feed .= $this->_createStylesheetReferences();
2727
$feed .= "<feed version=\"0.1\" xmlns=\"http://example.com/newformat#\">\n";
2828
$feed .= " <title>".FeedCreator::iTrunc(htmlspecialchars($this->title), 100)."</title>\n";
29-
$this->truncSize = 500;
3029
$feed .= " <subtitle>".$this->getDescription()."</subtitle>\n";
3130
$feed .= " <link>".$this->link."</link>\n";
3231
for ($i = 0; $i < count($this->items); $i++) {

0 commit comments

Comments
 (0)