From 7c77b828b6c852b2953805a7a61c1add0f899e67 Mon Sep 17 00:00:00 2001 From: Alexandre Emsenhuber Date: Thu, 10 Nov 2011 12:09:33 +0000 Subject: [PATCH] Removed FeedItem::getLastMod() and FeedItem::getDBPrefixedTitle() since they are not used and would throw an error since FeedItem::$Title is a string and not an object --- includes/Feed.php | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/includes/Feed.php b/includes/Feed.php index ef33c78ffb..3d6b43695c 100644 --- a/includes/Feed.php +++ b/includes/Feed.php @@ -68,15 +68,6 @@ class FeedItem { $this->Comments = $Comments; } - /** - * Get the last touched timestamp - * - * @return String last-touched timestamp - */ - public function getLastMod() { - return $this->Title->getTouched(); - } - /** * Encode $string so that it can be safely embedded in a XML document * @@ -120,16 +111,6 @@ class FeedItem { return $this->xmlEncode( $this->Title ); } - /** - * Get the DB prefixed title - * - * @return String the prefixed title, with underscores and - * any interwiki and namespace prefixes - */ - public function getDBPrefixedTitle() { - return $this->Title->getPrefixedDBKey(); - } - /** * Get the URL of this item; already xml-encoded * -- 2.20.1