public function clearPublishJob()
    {
        $job = $this->owner->PublishJob();
        if ($job && $job->exists()) {
            $job->delete();
        }
        $this->owner->PublishJobID = 0;
    }
public function clearPublishJob()
    {
        $job = $this->owner->PublishJob();
        if ($job && $job->exists()) {
            $job->delete();
        }
        $this->owner->PublishJobID = 0;
    }
public function clearPublishJob ( ) { $ job = $ this -> owner -> PublishJob ( ) ; if ( $ job && $ job -> exists ( ) ) { $ job -> delete ( ) ; } $ this -> owner -> PublishJobID = 0 ; }
Clears any existing publish job against this dataobject
Clears any existing publish job against this dataobject