Set visibility on class properties of DoubleRedirectJob
authorSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 25 Nov 2013 15:13:07 +0000 (16:13 +0100)
committerSiebrand Mazeland <s.mazeland@xs4all.nl>
Mon, 25 Nov 2013 15:13:07 +0000 (16:13 +0100)
Change-Id: I997f6db5510c7a8b04e5f88b9603c6821a6c459f

includes/job/jobs/DoubleRedirectJob.php

index ab8aef9..24b5521 100644 (file)
  * @ingroup JobQueue
  */
 class DoubleRedirectJob extends Job {
-       var $reason, $redirTitle;
+       /** @var string Reason for the change, 'maintenance' or 'move'. Suffix fo
+        *    message key 'double-redirect-fixed-'.
+        */
+       private $reason;
 
-       /**
-        * @var User
+       /** @var Title The title which has changed, redirects pointing to this
+        *    title are fixed
         */
-       static $user;
+       private $redirTitle;
+
+       /** @var User */
+       private static $user;
 
        /**
         * Insert jobs into the job queue to fix redirects to the given title