Permalink
Browse files

Do not autoload class_exists()

  • Loading branch information...
1 parent b9c0fbe commit c0a76cf8e7b32fb66f80edaa7ca0292f84679e57 @TheDeveloper TheDeveloper committed Mar 6, 2012
Showing with 2 additions and 2 deletions.
  1. +2 −2 Postmark.php
View
@@ -62,7 +62,7 @@ class Mail_Postmark
*/
public function __construct()
{
- if (class_exists('Mail_Postmark_Adapter')) {
+ if (class_exists('Mail_Postmark_Adapter', false)) {
require_once('Adapter_Interface.php');
$reflection = new ReflectionClass('Mail_Postmark_Adapter');
@@ -504,7 +504,7 @@ private function _isTwoHundred($value)
*/
private function _log($logData)
{
- if (class_exists('Mail_Postmark_Adapter')) {
+ if (class_exists('Mail_Postmark_Adapter', false)) {
Mail_Postmark_Adapter::log($logData);
}
}

0 comments on commit c0a76cf

Please sign in to comment.