Development

Changeset 32895

You must first sign up to be able to contribute.

Changeset 32895

Show
Ignore:
Timestamp:
08/05/11 12:33:59 (2 years ago)
Author:
coopers
Message:

updated aws plugin

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • plugins/cpAwsPlugin/trunk/lib/form/doctrine/PluginS3ObjectForm.class.php

    r32880 r32895  
    3333    )); 
    3434     
     35    $this->mergePostValidator(new sfValidatorDoctrineUnique(array( 
     36      'model' => $this->getModelName(),  
     37      'column' => array('original_filename', 'asset_id')), array( 
     38      'invalid' => 'The file with the same name already exist.'))); 
     39     
    3540    $this->disableCSRFProtection(); 
    3641    $this->setOption('inlineLabels', true);