From 234059c4a8a8936ff6b97e8b4ba4e9ae5b382070 Mon Sep 17 00:00:00 2001 From: daniel Date: Tue, 17 Apr 2012 23:29:22 +0200 Subject: [PATCH] fix incomplete rename of unserialize to unserializeContent --- includes/Revision.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/includes/Revision.php b/includes/Revision.php index 07ae586f35..984ad1c108 100644 --- a/includes/Revision.php +++ b/includes/Revision.php @@ -508,7 +508,7 @@ class Revision { # if we have a content object, serialize it, overriding mText if ( !empty( $row['content'] ) ) { $handler = $this->getContentHandler(); - $this->mText = $handler->serialize( $row['content'], $this->getContentFormat() ); + $this->mText = $handler->serializeContent( $row['content'], $this->getContentFormat() ); } } else { throw new MWException( 'Revision constructor passed invalid row format.' ); @@ -841,7 +841,7 @@ class Revision { $this->mText = $this->loadText(); } - $this->mContent = is_null( $this->mText ) ? null : $handler->unserialize( $this->mText, $format ); + $this->mContent = is_null( $this->mText ) ? null : $handler->unserializeContent( $this->mText, $format ); } return $this->mContent; -- 2.20.1