[Rt-commit] rt branch, 4.0.15-releng, created. rt-4.0.14-1-gbeb46a9

Kevin Falcone falcone at bestpractical.com
Thu Jul 25 16:19:12 EDT 2013


The branch, 4.0.15-releng has been created
        at  beb46a94645a87c335a01c697930769958337797 (commit)

- Log -----------------------------------------------------------------
commit beb46a94645a87c335a01c697930769958337797
Author: Alex Vandiver <alexmv at bestpractical.com>
Date:   Thu Jul 25 15:05:00 2013 -0400

    Restore $dbh removed in afadbca, needed for later query

diff --git a/etc/upgrade/3.9.8/content b/etc/upgrade/3.9.8/content
index e10d42f..24242fd 100644
--- a/etc/upgrade/3.9.8/content
+++ b/etc/upgrade/3.9.8/content
@@ -13,6 +13,7 @@
 
     $RT::Logger->error("We found RTFM tables in your database.  Checking for content.");
 
+    my $dbh = $RT::Handle->dbh;
     my $result = $dbh->selectall_arrayref("SELECT count(*) AS articlecount FROM FM_Articles", { Slice => {} } );
 
     if ($result->[0]{articlecount} > 0) {

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


More information about the Rt-commit mailing list