Changeset 807


Ignore:
Timestamp:
11/19/08 12:17:13 (3 years ago)
Author:
SvenDowideit
Message:

Item175: untested TWIKIWEB and MAINWEB

Location:
trunk/TWikiCompatibilityPlugin
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/TWikiCompatibilityPlugin/data/TWiki/TWikiCompatibilityPlugin.txt

    r806 r807  
    1111Automaticalle maps requests for legacy TWiki web topics to Foswiki free topics as per 
    1212[[http://foswiki.org/Development/TopicNameMappingTable][TopicNameMappingTable]]. 
     13 
     14Map TWIKIWEB to SYSTEMWEB and MAINWEB to USERSWEB - no Preference settings required. 
    1315 
    1416 
  • trunk/TWikiCompatibilityPlugin/lib/TWiki/Plugins/TWikiCompatibilityPlugin.pm

    r806 r807  
    107107            $MainWebTopicNameConversion->{$TWiki::Plugins::SESSION->{topicName}}; 
    108108    } 
     109     
     110    #Map TWIKIWEB to SYSTEMWEB and MAINWEB to USERSWEB 
     111    #TODO: should we test for existance and other things? 
     112    TWiki::Func::setPreferencesValue('TWIKIWEB', 'SYSTEMWEB'); 
     113    TWiki::Func::setPreferencesValue('MAINWEB', 'USERSWEB'); 
    109114     
    110115    return; 
Note: See TracChangeset for help on using the changeset viewer.