Changeset 3293


Ignore:
Timestamp:
03/12/09 08:14:13 (3 years ago)
Author:
jquelin
Message:

removing no more used default_plugin_dir()

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Padre/lib/Padre/Config.pm

    r3277 r3293  
    170170 
    171171 
    172 sub default_plugin_dir { 
    173     my $pluginsdir = File::Spec->catdir( 
    174         $PADRE_CONFIG_DIR, 
    175         'plugins', 
    176     ); 
    177     my $plugins_full_path = File::Spec->catdir( 
    178         $pluginsdir, 'Padre', 'Plugin' 
    179     ); 
    180     unless ( -e $plugins_full_path) { 
    181         File::Path::mkpath($plugins_full_path) or 
    182         die "Cannot create plugins dir '$plugins_full_path' $!"; 
    183     } 
    184  
    185     # Copy the My Plugin if necessary 
    186     my $file = File::Spec->catfile( $plugins_full_path, 'My.pm' ); 
    187     unless ( -e $file ) { 
    188         Padre::Config->copy_original_My_plugin( $file ); 
    189     } 
    190  
    191     return $pluginsdir; 
    192 } 
    193  
    194172# TODO - This should probably live in Padre::PluginManager somewhere 
    195173sub copy_original_My_plugin { 
Note: See TracChangeset for help on using the changeset viewer.