DataObjects/Core_notify_recur.php
[Pman.Core] / Notify.php
index 6d99ac5..8a99c61 100644 (file)
@@ -43,7 +43,7 @@ class Pman_Core_Notify extends Pman
             'max' => 0,
             
         ),
-         'force' => array(
+        'force' => array(
             'desc' => 'Force redelivery, even if it has been sent before or not queued...',
             'default' => 0,
             'short' => 'f',
@@ -90,11 +90,8 @@ class Pman_Core_Notify extends Pman
         if (!empty($opts['send-to'])) {
             $this->send_to = $opts['send-to'];
         }
-        
-        $w = DB_DataObject::factory('core_notify_recur');
-        $w->generateNotifications();
-        
-        //DB_DataObject::debugLevel(1);
+     
+        DB_DataObject::debugLevel(1);
         $w = DB_DataObject::factory($this->table);
         
         if (!$showold) {