X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_company.php;h=cb0af57500e0197cbfa2ee8ae22517f84e9e9d96;hp=abc1506921fdee29c75c40be6af41a358609524c;hb=750b54e82dd8dd021d19a8e5a3ea04e788689fd8;hpb=ef88ab3c339dbd1ac91a22046298288565515eb0 diff --git a/DataObjects/Core_company.php b/DataObjects/Core_company.php index abc15069..cb0af575 100644 --- a/DataObjects/Core_company.php +++ b/DataObjects/Core_company.php @@ -12,7 +12,7 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject public $__table = 'core_company'; // table name public $code; // string(32) not_null public $name; // string(128) - public $remarks; // blob(65535) blob + public $remarks; // blob(65535) blobeforeDeleteb public $owner_id; // int(11) not_null public $address; // blob(65535) blob public $tel; // string(32) @@ -328,7 +328,7 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject $img->onid = $this->id; $img->find(); while ($img->fetch()) { - $img->beforeDelete(); + $img->beforeDelete(array(), $roo); $img->delete(); } return true;