[Rt-commit] rt branch, 4.0/upgrade-rtfm-fix, created. rt-4.0.0-315-gcbd9256

? sunnavy sunnavy at bestpractical.com
Wed May 18 09:28:38 EDT 2011


The branch, 4.0/upgrade-rtfm-fix has been created
        at  cbd925646088ca41080a221cca1cb6eb97353c53 (commit)

- Log -----------------------------------------------------------------
commit cbd925646088ca41080a221cca1cb6eb97353c53
Author: sunnavy <sunnavy at bestpractical.com>
Date:   Wed May 18 16:17:21 2011 +0800

    return if no supported rtfm is found
    
    also people may don't have rtfm installed at all.

diff --git a/etc/upgrade/3.9.8/content b/etc/upgrade/3.9.8/content
index 6726a8e..1c27b5c 100644
--- a/etc/upgrade/3.9.8/content
+++ b/etc/upgrade/3.9.8/content
@@ -9,7 +9,8 @@
     }
 
     unless ( $found_fm_tables->{fm_topics} && $found_fm_tables->{fm_objecttopics} ) {
-        $RT::Logger->error("You appear to be upgrading from RTFM 2.0 - We don't support upgrading this old of an RTFM yet");
+        $RT::Logger->error("You appear to be upgrading from RTFM 2.0 - We don't support upgrading this old of an RTFM yet. Ignore this if you don't have RTFM installed at all.");
+        return;
     }
 
     $RT::Logger->error("We found RTFM tables in your database.  Checking for content.");

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


More information about the Rt-commit mailing list