Skip to content
Browse files

hide notice for composer environment, bump version

  • Loading branch information...
1 parent 630bed6 commit f658e721cb6eb7d4c64932e00ed4add742980ff9 @thousandsofthem thousandsofthem committed
Showing with 3 additions and 3 deletions.
  1. +3 −3 IronMQ.class.php
View
6 IronMQ.class.php
@@ -6,13 +6,13 @@
* @link https://github.com/iron-io/iron_mq_php
* @link http://www.iron.io/products/mq
* @link http://dev.iron.io/
- * @version 1.4.6
+ * @version 1.4.7
* @package IronMQPHP
* @copyright Feel free to copy, steal, take credit for, or whatever you feel like doing with this code. ;)
*/
-if (!class_exists('IronCore')) {
+if (!class_exists('IronCore') && !class_exists('Composer\Autoload\ClassLoader')) {
echo "Please include IronCore class first\n";
return;
}
@@ -122,7 +122,7 @@ public function asArray() {
class IronMQ extends IronCore {
- protected $client_version = '1.4.6';
+ protected $client_version = '1.4.7';
protected $client_name = 'iron_mq_php';
protected $product_name = 'iron_mq';
protected $default_values = array(

0 comments on commit f658e72

Please sign in to comment.
Something went wrong with that request. Please try again.