Index: trunk/phase3/includes/BagOStuff.php |
— | — | @@ -154,7 +154,7 @@ |
155 | 155 | * Convert an optionally relative time to an absolute time |
156 | 156 | */ |
157 | 157 | protected function convertExpiry( $exptime ) { |
158 | | - if ( ( $exptime != 0 ) && ( $exptime < 3600 * 24 * 30 ) ) { |
| 158 | + if ( ( $exptime != 0 ) && ( $exptime < 86400 * 3650 /* 10 years */ ) ) { |
159 | 159 | return time() + $exptime; |
160 | 160 | } else { |
161 | 161 | return $exptime; |