Skip to content

Commit

Permalink
Removed the phrase 'global' from comments now that we aren't using gl…
Browse files Browse the repository at this point in the history
…obals.

PHPCAS-126
  • Loading branch information
adamfranco committed Oct 26, 2011
1 parent 56762f3 commit 4d2e4b4
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions source/CAS.php
Original file line number Diff line number Diff line change
Expand Up @@ -269,22 +269,22 @@
class phpCAS {

/**
* This global variable is used by the interface class phpCAS.
* This variable is used by the interface class phpCAS.
*
* @hideinitializer
*/
private static $PHPCAS_CLIENT;

/**
* This global variable is used to store where the initializer is called from
* This variable is used to store where the initializer is called from
* (to print a comprehensive error in case of multiple calls).
*
* @hideinitializer
*/
private static $PHPCAS_INIT_CALL;

/**
* This global variable is used to store phpCAS debug mode.
* This variable is used to store phpCAS debug mode.
*
* @hideinitializer
*/
Expand Down Expand Up @@ -341,7 +341,7 @@ public static function client($server_version, $server_hostname, $server_port, $
'method' => __CLASS__ . '::' . __FUNCTION__
);

// initialize the global object $PHPCAS_CLIENT
// initialize the object $PHPCAS_CLIENT
self::$PHPCAS_CLIENT = new CAS_Client($server_version, FALSE /*proxy*/
, $server_hostname, $server_port, $server_uri, $start_session);
phpCAS :: traceEnd();
Expand Down Expand Up @@ -388,7 +388,7 @@ public static function proxy($server_version, $server_hostname, $server_port, $s
'method' => __CLASS__ . '::' . __FUNCTION__
);

// initialize the global object $PHPCAS_CLIENT
// initialize the object $PHPCAS_CLIENT
self::$PHPCAS_CLIENT = new CAS_Client($server_version, TRUE /*proxy*/
, $server_hostname, $server_port, $server_uri, $start_session);
phpCAS :: traceEnd();
Expand Down Expand Up @@ -1060,7 +1060,7 @@ public static function isAuthenticated() {
phpCAS :: error('this method should not be called before ' . __CLASS__ . '::client() or ' . __CLASS__ . '::proxy()');
}

// call the isAuthenticated method of the global $PHPCAS_CLIENT object
// call the isAuthenticated method of the $PHPCAS_CLIENT object
$auth = self::$PHPCAS_CLIENT->isAuthenticated();

// store where the authentication has been checked and the result
Expand Down

0 comments on commit 4d2e4b4

Please sign in to comment.