From: daniel Date: Tue, 17 Apr 2012 21:29:22 +0000 (+0200) Subject: fix incomplete rename of unserialize to unserializeContent X-Git-Tag: 1.31.0-rc.0~22097^2^2~240 X-Git-Url: http://git.cyclocoop.org/%22%20.%20generer_url_ecrire%28%22articles%22%2C%22id_article=%24id_article%22%29%20.%20%22?a=commitdiff_plain;h=234059c4a8a8936ff6b97e8b4ba4e9ae5b382070;p=lhc%2Fweb%2Fwiklou.git fix incomplete rename of unserialize to unserializeContent --- 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;