X-Git-Url: http://git.roojs.org/?p=Pman.Core;a=blobdiff_plain;f=DataObjects%2FCore_company.php;h=9c9e07e0cee18e30152906d2c7d48e47979988e0;hp=1682d44153efad1876a207a1beb5dec3bf14a612;hb=4aef080182b81a964822f8ba5cb67c586826d7c4;hpb=f7cb9c99175588ff8bd7e8fa03e782b376d0df07 diff --git a/DataObjects/Core_company.php b/DataObjects/Core_company.php index 1682d441..9c9e07e0 100644 --- a/DataObjects/Core_company.php +++ b/DataObjects/Core_company.php @@ -283,6 +283,9 @@ class Pman_Core_DataObjects_Core_Company extends DB_DataObject ){ $roo->jerr('This company is not allow to delete'); } + } + function onDelete() + { $img = DB_DataObject::factory('Images'); $img->ontable = $this->tableName(); $img->onid = $this->id;