MediaWiki REL1_34
GlobalDependency.php
Go to the documentation of this file.
1<?php
28 private $name;
29 private $value;
30
31 function __construct( $name ) {
32 $this->name = $name;
33 $this->value = $GLOBALS[$name];
34 }
35
39 function isExpired() {
40 if ( !isset( $GLOBALS[$this->name] ) ) {
41 return true;
42 }
43
45 }
46}
$GLOBALS['IP']