...and actually *keep* the required object.
authorMichael J. Rubinsky <mrubinsk@horde.org>
Tue, 24 Feb 2009 17:29:29 +0000 (12:29 -0500)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Wed, 25 Feb 2009 19:13:12 +0000 (14:13 -0500)
framework/Service_Facebook/lib/Horde/Service/Facebook.php

index f70ce35..7bc0f90 100644 (file)
@@ -132,6 +132,8 @@ class Horde_Service_Facebook
         // We require a http client object.
         if (empty($context['http_client'])) {
             throw new InvalidArgumentException('A http client object is required');
+        } else {
+            $this->_http = $context['http_client'];
         }
 
         // Required Horde_Controller_Request object, but we can also get it