[Rt-commit] rt branch, 4.4/externalstorage-backend-key, repushed
Shawn Moore
shawn at bestpractical.com
Wed Sep 21 11:21:00 EDT 2016
The branch 4.4/externalstorage-backend-key was deleted and repushed:
was c8179084f3febe5dfe4b9bfa1ce165484deb4a77
now ec09ad3568a86adcd64c571488761ebaed98caf3
1: c817908 ! 1: ec09ad3 Store backend-specific keys in the attachment
@@ -82,9 +82,9 @@
- my ($ok, $msg) = $ExternalStorage->Store( $key => $content );
- return ($ok, $msg) unless defined $ok;
-
+- return ($key);
+ my $sha = Digest::SHA::sha256_hex( $content );
-+ my ($key, $msg) = $ExternalStorage->Store( $key => $content );
-+ return ($key, $msg) unless defined $ok;
- return ($key);
++ return $ExternalStorage->Store( $sha => $content );
}
+ =head1 NAME
More information about the rt-commit
mailing list