Skip to content

Commit

Permalink
Remove unused property
Browse files Browse the repository at this point in the history
  • Loading branch information
flack committed Jan 23, 2024
1 parent b912ff2 commit 3abf36e
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 4 deletions.
1 change: 0 additions & 1 deletion lib/Creator/FeedCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ abstract class FeedCreator extends HtmlDescribable
protected $encoding = "UTF-8"; //"ISO-8859-1";

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

/**
* Any additional elements to include as an associated array. All $key => $value pairs
Expand Down
1 change: 0 additions & 1 deletion lib/Creator/KMLCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ public function createFeed()
$feed .= " <name>".FeedCreator::iTrunc(htmlspecialchars($this->title), 100)."</name>
<description>".$this->getDescription()."</description>
<visibility>1</visibility>\n";
$this->truncSize = 500;

for ($i = 0; $i < count($this->items); $i++) {
//added here beucase description gets auto surrounded by cdata
Expand Down
1 change: 0 additions & 1 deletion lib/Creator/PHPCreator.php
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,6 @@ public function createFeed()
$feed = "<?php\n";
$feed .= "class FeedItem {}\n";
$feed .= " \$feedTitle='".addslashes(FeedCreator::iTrunc(htmlspecialchars($this->title), 100))."';\n";
$this->truncSize = 500;
$feed .= " \$feedDescription='".addslashes($this->getDescription())."';\n";
$feed .= " \$feedLink='".$this->link."';\n";
$feed .= " \$feedItem = array();\n";
Expand Down
1 change: 0 additions & 1 deletion lib/Creator/PIECreator01.php
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ public function createFeed()
$feed .= $this->_createStylesheetReferences();
$feed .= "<feed version=\"0.1\" xmlns=\"http://example.com/newformat#\">\n";
$feed .= " <title>".FeedCreator::iTrunc(htmlspecialchars($this->title), 100)."</title>\n";
$this->truncSize = 500;
$feed .= " <subtitle>".$this->getDescription()."</subtitle>\n";
$feed .= " <link>".$this->link."</link>\n";
for ($i = 0; $i < count($this->items); $i++) {
Expand Down

0 comments on commit 3abf36e

Please sign in to comment.