Changeset 529


Ignore:
Timestamp:
09/01/2010 12:17:44 PM (18 months ago)
Author:
ofer
Message:

Attempt to remove old files when plugin is activated

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/WordPress/plugin/transposh/transposh.php

    r528 r529  
    432432        $GLOBALS['wp_rewrite']->flush_rules(); 
    433433 
     434        // attempt to remove old files 
     435        @unlink($this->transposh_plugin_dir.'widgets/tpw_default.php'); 
     436        @unlink($this->transposh_plugin_dir.'core/globals.php'); 
     437 
    434438        logger("plugin_activate exit: " . dirname(__FILE__)); 
    435439        logger("testing name:" . plugin_basename(__FILE__)); 
Note: See TracChangeset for help on using the changeset viewer.