}
$this->output( "Populating img_sha1 field for specified files\n" );
} else {
- if ( $force ) {
+ if ( $this->hasOption( 'multiversiononly' ) ) {
+ $conds = array();
+ $this->output( "Populating and recalculating img_sha1 field for versioned files\n" );
+ } elseif ( $force ) {
$conds = array();
$this->output( "Populating and recalculating img_sha1 field\n" );
} else {