DataObjects/Person.php
authorEdward <edward@roojs.com>
Mon, 15 Sep 2014 03:11:31 +0000 (11:11 +0800)
committerEdward <edward@roojs.com>
Mon, 15 Sep 2014 03:11:31 +0000 (11:11 +0800)
DataObjects/Person.php

index a725329..fa694cf 100644 (file)
@@ -1060,10 +1060,4 @@ class Pman_Core_DataObjects_Person extends DB_DataObject
         return $this->email;
     }
     
-    function isOwner()
-    {
-        $company = $this->company();
-        
-        return (empty($company) || empty($company->comptype) || $company->comptype != 'OWNER') ? false : true;
-    }
  }