From cd522341b2dd81d766d452066c0cb2d5b44fe1b0 Mon Sep 17 00:00:00 2001 From: Umherirrender Date: Thu, 28 May 2020 18:10:37 +0000 Subject: Revert "RCDatabaseLogEntry: add a method to get the last rev_id" This reverts commit b96d2808fd743efb6f0a6f2c4ed7697e3b3682f0. This class should only be used in context of the LogFormatter and the method is not needed there. This was added in 1.35 and the revert should be part of 1.35 to avoid deprecation process. Change-Id: I13b5fd2989f9e640718ecf5083f83017abefef25 Depends-On: I3af1e42594f8235be815ce38e3411c762ae01092 --- includes/logging/RCDatabaseLogEntry.php | 10 ---------- 1 file changed, 10 deletions(-) (limited to 'includes/logging') diff --git a/includes/logging/RCDatabaseLogEntry.php b/includes/logging/RCDatabaseLogEntry.php index f407599b1ecd..4dc40373ff8d 100644 --- a/includes/logging/RCDatabaseLogEntry.php +++ b/includes/logging/RCDatabaseLogEntry.php @@ -41,16 +41,6 @@ class RCDatabaseLogEntry extends DatabaseLogEntry { return $this->row->rc_this_oldid; } - /** - * Get the rev_id associated to the parent revision - * @since 1.35 - * - * @return string - */ - public function getParentRevId() { - return $this->row->rc_last_oldid; - } - public function getType() { return $this->row->rc_log_type; } -- cgit v1.2.3