Merge "RCDatabaseLogEntry: add a method to get the last rev_id"
This commit is contained in:
commit
1926e865bf
1 changed files with 10 additions and 0 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in a new issue