Skip to content

Commit

Permalink
Remove some commented out code and update package.json version to be …
Browse files Browse the repository at this point in the history
…the correct version string
  • Loading branch information
justinshreve committed Nov 19, 2015
1 parent a82ce6e commit d6e8f7c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,6 @@ public function general_product_data() {
public function admin_styles_and_scripts() {
$suffix = defined( 'SCRIPT_DEBUG' ) && SCRIPT_DEBUG ? '' : '.min';
wp_enqueue_script( 'wc_accommodation_bookings_writepanel_js', WC_ACCOMMODATION_BOOKINGS_PLUGIN_URL . '/assets/js/writepanel' . $suffix . '.js', array( 'jquery' ), WC_ACCOMMODATION_BOOKINGS_VERSION, true );
//wp_enqueue_script( 'wc_bookings_writepanel_js', WC_BOOKINGS_PLUGIN_URL . '/assets/js/writepanel' . $suffix . '.js', array( 'jquery' ), WC_BOOKINGS_VERSION, true );
}

/**
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "woocommerce-accommodation-bookings",
"title": "WooCommerce Accommodation Bookings",
"version": "1.0.1",
"version": "1.0.0",
"homepage": "http://www.woothemes.com/products/woocommerce-accommodation-bookings/",
"main": "Gruntfile.js",
"devDependencies": {
Expand Down
5 changes: 0 additions & 5 deletions woocommerce-accommodation-bookings.php
Original file line number Diff line number Diff line change
Expand Up @@ -75,11 +75,6 @@ public function install() {
*/
public function delayed_install() {
global $wpdb;

//$wpdb->hide_errors();

// Update version
//update_option( 'wc_accommodation_bookings_version', WC_ACCOMMODATION_BOOKINGS_VERSION );
}

/**
Expand Down

0 comments on commit d6e8f7c

Please sign in to comment.