Browse files

Reformatted loading of curl spark version to newer valid form, and ch…

…anged logic surrounding lib loading
  • Loading branch information...
1 parent ac9fe9e commit ace387570f801c80d3d317d4adbf10aba254d71b @katzgrau committed Dec 31, 2011
Showing with 4 additions and 7 deletions.
  1. +4 −7 libraries/Amazon_ses.php
View
11 libraries/Amazon_ses.php
@@ -69,13 +69,10 @@ function __construct()
// Load Phil's cURL library as a Spark or the normal way
if (method_exists($this->_ci->load, 'spark'))
{
- $this->_ci->load->spark('curl/1.0');
+ $this->_ci->load->spark('curl/1.0.0');
}
- else
- {
- $this->_ci->load->library('curl');
- }
-
+
+ $this->_ci->load->library('curl');
}
/**
@@ -470,4 +467,4 @@ private function _api_request($query_string, $return = FALSE)
}
-}
+}

0 comments on commit ace3875

Please sign in to comment.