Fixed r93468, made setCachedLastEditTime() public
authorAaron Schulz <aaron@users.mediawiki.org>
Fri, 29 Jul 2011 17:56:32 +0000 (17:56 +0000)
committerAaron Schulz <aaron@users.mediawiki.org>
Fri, 29 Jul 2011 17:56:32 +0000 (17:56 +0000)
includes/WikiPage.php

index 19ac74b..85b5fb5 100644 (file)
@@ -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 );