From: Victor Vasiliev Date: Wed, 16 Jan 2008 18:31:00 +0000 (+0000) Subject: Forgot to commit this file X-Git-Tag: 1.31.0-rc.0~49957 X-Git-Url: http://git.cyclocoop.org/%24action?a=commitdiff_plain;h=504a38be8779f2f8cf22872e6c02a580adc907d9;p=lhc%2Fweb%2Fwiklou.git Forgot to commit this file --- diff --git a/includes/filerepo/File.php b/includes/filerepo/File.php index ba522ee6c1..a81abcb57a 100644 --- a/includes/filerepo/File.php +++ b/includes/filerepo/File.php @@ -46,7 +46,7 @@ abstract class File { /** * The following member variables are not lazy-initialised */ - var $repo, $title, $lastError; + var $repo, $title, $lastError, $redirected; /** * Call this constructor from child classes @@ -1131,6 +1131,14 @@ abstract class File { return ''; } } + + function getRedirected() { + return $this->redirected; + } + + function redirectedFrom( $from ) { + $this->redirected = $from; + } } /** * Aliases for backwards compatibility with 1.6