Merge "RCDatabaseLogEntry: add a method to get the last rev_id"

This commit is contained in:
jenkins-bot 2020-01-22 17:08:27 +00:00 committed by Gerrit Code Review
commit 1926e865bf

View file

@ -41,6 +41,16 @@ 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;
}