Plugin Directory

Changeset 716338


Ignore:
Timestamp:
05/22/2013 02:14:39 AM (13 years ago)
Author:
leethompson
Message:

Added new file

Location:
lazy-pinner
Files:
1 added
2 edited
4 copied

Legend:

Unmodified
Added
Removed
  • lazy-pinner/tags/2.1.2/lazypinner.php

    r716329 r716338  
    44Plugin URI: http://www.biofects.com
    55Description: This plugin automatically post your image and title to pineterst on Publish or Save
    6 Version: 2.1.1
     6Version: 2.1.2
    77Author: Lee Thompson and Nick Westerlund
    88Author URI: http://www.biofects.com
     
    4646             
    4747    $sql2 = "CREATE TABLE " . $table2 ." (
    48             pinner_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
     48            pinner_date TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    4949            pinner_postid int(11) NOT NULL,
    5050            pinner_comment varchar(255) NOT NULL DEFAULT ''
     
    7676       }
    7777
     78function LazyPinnerUninstall() {
     79  global $wpdb;
     80  $table1 = $wpdb->prefix."lazy_pinner_user";
     81  $table2 = $wpdb->prefix."lazy_pinner_logs";
     82  delete_option('lazypinner_version');
     83  $sql1 = "DROP TABLE IF EXISTS $table1";
     84  $sql2 = "DROP TABLE IF EXISTS $table2";
     85    dbDelta($sql1);
     86    dbDelta($sql2);
     87}
     88    register_uninstall_hook( __FILE__, 'LazyPinnerUninstall' );
    7889
    7990include('includes/pinit.php'); 
  • lazy-pinner/tags/2.1.2/readme.txt

    r716329 r716338  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 2.1.1
     7Stable tag: 2.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6060= 2.1.1 =
    6161Added uninstall function to remove tables and options this plugin creates
     62
     63= 2.1.2 =
     64Added the new file I forgot
  • lazy-pinner/trunk/lazypinner.php

    r716328 r716338  
    44Plugin URI: http://www.biofects.com
    55Description: This plugin automatically post your image and title to pineterst on Publish or Save
    6 Version: 2.1.1
     6Version: 2.1.2
    77Author: Lee Thompson and Nick Westerlund
    88Author URI: http://www.biofects.com
     
    4646             
    4747    $sql2 = "CREATE TABLE " . $table2 ." (
    48             pinner_date TIMESTAMP NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
     48            pinner_date TIMESTAMP ON UPDATE CURRENT_TIMESTAMP,
    4949            pinner_postid int(11) NOT NULL,
    5050            pinner_comment varchar(255) NOT NULL DEFAULT ''
     
    7676       }
    7777
     78function LazyPinnerUninstall() {
     79  global $wpdb;
     80  $table1 = $wpdb->prefix."lazy_pinner_user";
     81  $table2 = $wpdb->prefix."lazy_pinner_logs";
     82  delete_option('lazypinner_version');
     83  $sql1 = "DROP TABLE IF EXISTS $table1";
     84  $sql2 = "DROP TABLE IF EXISTS $table2";
     85    dbDelta($sql1);
     86    dbDelta($sql2);
     87}
     88    register_uninstall_hook( __FILE__, 'LazyPinnerUninstall' );
    7889
    7990include('includes/pinit.php'); 
  • lazy-pinner/trunk/readme.txt

    r716328 r716338  
    55Requires at least: 3.0
    66Tested up to: 3.5.1
    7 Stable tag: 2.1.1
     7Stable tag: 2.1.2
    88License: GPLv2 or later
    99License URI: http://www.gnu.org/licenses/gpl-2.0.html
     
    6060= 2.1.1 =
    6161Added uninstall function to remove tables and options this plugin creates
     62
     63= 2.1.2 =
     64Added the new file I forgot
Note: See TracChangeset for help on using the changeset viewer.