Fix #6032 - change the release index page to plain html
[Pman.Core] / DataObjects / Core_notify.php
index 21d8f9f..dbf012b 100644 (file)
@@ -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 
 {
@@ -55,8 +55,6 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
         if ($set !== false) {
             $this->person_table = is_object($set) ? $set->tableName() : '';
             
-            
-            
             $person_table = empty($this->person_table) ? $def_pt  : strtolower($this->person_table);
             $col = $person_table  == $def_pt ? 'person_id' : $person_table . '_id';
             
@@ -328,7 +326,6 @@ class Pman_Core_DataObjects_Core_notify extends DB_DataObject
         try {
             $send->get($this->id, array());
         } catch (Exception $e) {
-            print_R($e);exit;
             ob_end_clean();
             return $e;
         }