Forgot to commit this file
authorVictor Vasiliev <vasilievvv@users.mediawiki.org>
Wed, 16 Jan 2008 18:31:00 +0000 (18:31 +0000)
committerVictor Vasiliev <vasilievvv@users.mediawiki.org>
Wed, 16 Jan 2008 18:31:00 +0000 (18:31 +0000)
includes/filerepo/File.php

index ba522ee..a81abcb 100644 (file)
@@ -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