public function afterDelete()
    {
        foreach ($this->getAllFields() as $field) {
            $path = $this->getFilePath($field, '');
            if (file_exists($path) && is_dir($path)) {
                FileHelper::removeDirectory($path);
            }
        }
    }
public function afterDelete()
    {
        foreach ($this->getAllFields() as $field) {
            $path = $this->getFilePath($field, '');
            if (file_exists($path) && is_dir($path)) {
                FileHelper::removeDirectory($path);
            }
        }
    }
public function afterDelete ( ) { foreach ( $ this -> getAllFields ( ) as $ field ) { $ path = $ this -> getFilePath ( $ field , '' ) ; if ( file_exists ( $ path ) && is_dir ( $ path ) ) { FileHelper :: removeDirectory ( $ path ) ; } } }
Removes owner files.
Removes owner files .