Permalink
Browse files

Updated DebugKit plugin check.

  • Loading branch information...
1 parent a64f13f commit 165e54cc0ed145fd68f3a6b22481e6cbd2cd8a1d @Phally committed Mar 18, 2012
Showing with 1 addition and 5 deletions.
  1. +1 −5 Model/Datasource/WsdlSource.php
View
6 Model/Datasource/WsdlSource.php
@@ -67,11 +67,7 @@ public function __construct($config) {
$this->_useLogging = true;
}
- try {
- $this->_useDebugKit = class_exists('DebugKitDebugger');
- } catch (MissingPluginException $Exception) {
- $this->_useDebugKit = false;
- }
+ $this->_useDebugKit = CakePlugin::loaded('DebugKit');
$this->loadService();
$this->connect();

0 comments on commit 165e54c

Please sign in to comment.