X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_notify.php;h=729f0a82dbe8c703513a651f1cc27eed86e3063a;hp=40c4266d8b9de819986a1e589df955e25feb27ee;hb=5d4ac076dc4f620fbb91944eead3e0af66216a03;hpb=346326f5ea6cd2128ae1d5fd53a969f35da26bf7 diff --git a/DataObjects/Core_notify.php b/DataObjects/Core_notify.php index 40c4266d..729f0a82 100644 --- a/DataObjects/Core_notify.php +++ b/DataObjects/Core_notify.php @@ -20,7 +20,7 @@ CREATE TABLE core_notify ( ); **/ -require_once 'DB/DataObject.php'; +class_exists('DB_DataObject') ? '' : require_once 'DB/DataObject.php'; class Pman_Core_DataObjects_Core_notify extends DB_DataObject { @@ -328,12 +328,13 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject try { $send->get($this->id, array()); } catch (Exception $e) { + ob_end_clean(); return $e; } ob_end_clean(); - return; + return true; } }