Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion rss_cache.inc
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ class RSSCache {
var $MAX_AGE = 3600; // when are files stale, default one hour
var $ERROR = ""; // accumulate error messages

function RSSCache ($base='', $age='') {
function __construct ($base='', $age='') {
if ( $base ) {
$this->BASE_CACHE = $base;
}
Expand Down
2 changes: 1 addition & 1 deletion rss_parse.inc
Original file line number Diff line number Diff line change
Expand Up @@ -104,7 +104,7 @@ class MagpieRSS {
* source encoding. (caveat emptor)
*
*/
function MagpieRSS ($source, $output_encoding='ISO-8859-1',
function __construct ($source, $output_encoding='ISO-8859-1',
$input_encoding=null, $detect_encoding=true)
{
#
Expand Down