Notify.php
authorElliott Polk <elliott.polk@thekaroshiworkshop.com>
Thu, 31 May 2012 06:59:35 +0000 (14:59 +0800)
committerElliott Polk <elliott.polk@thekaroshiworkshop.com>
Thu, 31 May 2012 06:59:35 +0000 (14:59 +0800)
Notify.php

index 4e592f9..cd24525 100644 (file)
@@ -307,14 +307,6 @@ class Pman_Core_Notify extends Pman
         
     }
 
-    function setCompany() {
-        $co = DB_DataObject::Factory('Companies');
-        if(!$co->get('code', 'MediaWatchMe')) $this->errors[] = 'Invalid Supplier Code: MediaWatchMe';
-
-        $this->company = $co->id;
-        return true;
-    }
-
     function output()
     {
         die("Done\n");