Skip to content

Commit 39cce6b

Browse files
committed
Merge pull request #170 from dovg/1.0-tests-fixed
cannot use AMQP classes without extentions
2 parents cf52337 + 918cdc1 commit 39cce6b

File tree

2 files changed

+7
-0
lines changed

2 files changed

+7
-0
lines changed

doc/ChangeLog

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
2013-01-09 Evgeny V. Kokovikhin
2+
* test/main/Utils/AMQP/AMQPPeclTest.class.php:
3+
test fixed
4+
15
2012-12-06 Evgeny V. Kokovikhin
26
* main/DAOs/GenericDAO.class.php
37
meta/builders/AutoDaoBuilder.class.php

test/main/Utils/AMQP/AMQPPeclTest.class.php

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -125,6 +125,9 @@ public function __construct()
125125
{
126126
parent::__construct();
127127

128+
if (!extension_loaded('amqp'))
129+
return;
130+
128131
if (!AMQPPool::me()->getList()) {
129132
AMQPPool::me()->
130133
setDefault(

0 commit comments

Comments
 (0)