r102642 MediaWiki - Code Review archive

Repository:MediaWiki
Revision:r102641‎ | r102642 | r102643 >
Date:12:09, 10 November 2011
Author:ialex
Status:ok
Tags:
Comment:
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
Modified paths:
  • /trunk/phase3/includes/Feed.php (modified) (history)

Diff [purge]

Index: trunk/phase3/includes/Feed.php
@@ -69,15 +69,6 @@
7070 }
7171
7272 /**
73 - * Get the last touched timestamp
74 - *
75 - * @return String last-touched timestamp
76 - */
77 - public function getLastMod() {
78 - return $this->Title->getTouched();
79 - }
80 -
81 - /**
8273 * Encode $string so that it can be safely embedded in a XML document
8374 *
8475 * @param $string String: string to encode
@@ -121,16 +112,6 @@
122113 }
123114
124115 /**
125 - * Get the DB prefixed title
126 - *
127 - * @return String the prefixed title, with underscores and
128 - * any interwiki and namespace prefixes
129 - */
130 - public function getDBPrefixedTitle() {
131 - return $this->Title->getPrefixedDBKey();
132 - }
133 -
134 - /**
135116 * Get the URL of this item; already xml-encoded
136117 *
137118 * @return String

Status & tagging log