public function unflagArchive(\SplFileInfo $archive)
    {
        foreach ($this->getFlags() as $flagString) {
            if (file_exists($archive->getRealPath() . $flagString)) {
                unlink($archive->getRealPath() . $flagString);
            }
        }
    }
public function unflagArchive(\SplFileInfo $archive)
    {
        foreach ($this->getFlags() as $flagString) {
            if (file_exists($archive->getRealPath() . $flagString)) {
                unlink($archive->getRealPath() . $flagString);
            }
        }
    }
public function unflagArchive ( \ SplFileInfo $ archive ) { foreach ( $ this -> getFlags ( ) as $ flagString ) { if ( file_exists ( $ archive -> getRealPath ( ) . $ flagString ) ) { unlink ( $ archive -> getRealPath ( ) . $ flagString ) ; } } }
Deletes all old flags, so the app will be undeployed with
the next appserver restart.

@param \SplFileInfo $archive The archive to unflag

@return void
Deletes all old flags so the app will be undeployed with the next appserver restart .