original_string: public function beforeDelete(Model $model, $cascade = true) {
          if (empty($model->id)) {
              return false;
          }
  
          return $this->deleteFiles($model, $model->id, array(), true);
      }
code: public function beforeDelete(Model $model, $cascade = true) {
          if (empty($model->id)) {
              return false;
          }
  
          return $this->deleteFiles($model, $model->id, array(), true);
      }
code_tokens: public function beforeDelete ( Model $ model , $ cascade = true ) { if ( empty ( $ model -> id ) ) { return false ; } return $ this -> deleteFiles ( $ model , $ model -> id , array ( ) , true ) ; }
docstring: Deletes any files that have been attached to this model.
  
  @param Model $model
  @param bool $cascade
  @return bool
docstring_tokens: Deletes any files that have been attached to this model .