Skip to content

Commit bf060af

Browse files
committed
Removed references to the class member client
1 parent 573149a commit bf060af

File tree

1 file changed

+1
-10
lines changed

1 file changed

+1
-10
lines changed

application/libraries/REST_Controller.php

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -60,13 +60,6 @@ abstract class REST_Controller extends CI_Controller
6060
*/
6161
protected $rest = NULL;
6262

63-
/**
64-
* Object to store data about the client sending the request
65-
*
66-
* @var object
67-
*/
68-
protected $client = NULL;
69-
7063
/**
7164
* The arguments for the GET request method
7265
*
@@ -641,9 +634,7 @@ protected function _detect_api_key()
641634
}
642635
}
643636

644-
// Set the class member for compatility purposes
645-
$this->client = $row;
646-
return $this->client;
637+
return $row;
647638
}
648639

649640
// No key has been sent

0 commit comments

Comments
 (0)