DataObjects/Events.php
[Pman.Core] / DataObjects / Core_company.php
index 9c9e07e..b05d77b 100644 (file)
@@ -122,7 +122,9 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject
     }
     
     // ---------- AUTHENTICATION
-     function isAuth()
+    // not sure where authetnication via company is used?? posibly media-outreach
+    
+    function isAuth()
     {
         $db = $this->getDatabaseConnection();
         $sesPrefix = $db->dsn['database'];
@@ -284,7 +286,7 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject
             $roo->jerr('This company is not allow to delete');
         }
     }
-    function onDelete()
+    function onDelete($req, $roo)
     {
         $img = DB_DataObject::factory('Images');
         $img->ontable = $this->tableName();