concrete/src/Entity/File/Version.php
public function deny()
    {
        $app = Application::getFacadeApplication();
        $this->fvIsApproved = false;
        $this->save();
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_deny', $fve);
        $app->make('cache/request')->delete('file/version/approved/' . $this->getFileID());
    }
public function deny()
    {
        $app = Application::getFacadeApplication();
        $this->fvIsApproved = false;
        $this->save();
        $fve = new FileVersionEvent($this);
        $app->make(EventDispatcherInterface::class)->dispatch('on_file_version_deny', $fve);
        $app->make('cache/request')->delete('file/version/approved/' . $this->getFileID());
    }
public function deny ( ) { $ app = Application :: getFacadeApplication ( ) ; $ this -> fvIsApproved = false ; $ this -> save ( ) ; $ fve = new FileVersionEvent ( $ this ) ; $ app -> make ( EventDispatcherInterface :: class ) -> dispatch ( 'on_file_version_deny' , $ fve ) ; $ app -> make ( 'cache/request' ) -> delete ( 'file/version/approved/' . $ this -> getFileID ( ) ) ; }
Mark this file version as not approved.
Mark this file version as not approved .