[Rt-commit] rt branch, 4.0-trunk, updated. rt-4.0.20-35-gc434f2b

Alex Vandiver alexmv at bestpractical.com
Wed Jun 11 10:36:16 EDT 2014


The branch, 4.0-trunk has been updated
       via  c434f2b407da53de6ed35d9888aebffd252829be (commit)
      from  96d9bce5a22bc73a34cf6d446e471f794206ab9b (commit)

Summary of changes:
 share/html/Admin/Tools/Theme.html | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

- Log -----------------------------------------------------------------
commit c434f2b407da53de6ed35d9888aebffd252829be
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Wed Jun 11 10:05:22 2014 -0400

    Update warning to be more informative, and downgrade to info

diff --git a/share/html/Admin/Tools/Theme.html b/share/html/Admin/Tools/Theme.html
index ac297e9..123fae2 100644
--- a/share/html/Admin/Tools/Theme.html
+++ b/share/html/Admin/Tools/Theme.html
@@ -309,7 +309,7 @@ sub analyze_img {
     my @top5 = grep { defined and $_->{'l'} and $_->{'c'} }
                     (sort { $b->{rank} <=> $a->{rank} } values %$color)[0..5];
     if ((scalar uniq map {$_->{rank}} @top5) == 1) {
-        warn "bad";
+        $RT::Logger->info("Only one color found in logo image");
     }
     return \@top5;
 }

-----------------------------------------------------------------------


More information about the rt-commit mailing list