From: Aaron Schulz Date: Fri, 29 Jul 2011 17:56:32 +0000 (+0000) Subject: Fixed r93468, made setCachedLastEditTime() public X-Git-Tag: 1.31.0-rc.0~28544 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=7ccf3c85fba9adc84cd646d50355d3864e854dbf;p=lhc%2Fweb%2Fwiklou.git Fixed r93468, made setCachedLastEditTime() public --- diff --git a/includes/WikiPage.php b/includes/WikiPage.php index 19ac74bf1e..85b5fb5f14 100644 --- a/includes/WikiPage.php +++ b/includes/WikiPage.php @@ -862,7 +862,7 @@ class WikiPage extends Page { * @param $timestamp string * @return void */ - protected function setCachedLastEditTime( $timestamp ) { + public function setCachedLastEditTime( $timestamp ) { global $wgMemc; $key = wfMemcKey( 'page-lastedit', md5( $this->mTitle->getPrefixedDBkey() ) ); $wgMemc->set( $key, wfTimestamp( TS_MW, $timestamp ), 60*15 );